Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clang build fail #168

Merged
merged 1 commit into from
Dec 11, 2020
Merged

Conversation

yuhaoth
Copy link
Contributor

@yuhaoth yuhaoth commented Dec 8, 2020

@cielavenir, I re-org your commits . Please review that. I think your patches have two topics

  • Clang support : It can be verified with current test matrix.
  • Arm64 Apple support: It can not be tested now. Please help review and verified it .

I am not sure if you think it is reasonable to merge this PR and abandon #162 and #164 ?
If No, Could you re-org your patches ?

@gbtucker , please review include/aarch64_multibinary.h . I am not sure if there are copy rights issues

@cielavenir
Copy link
Contributor

@yuhaoth I think it is ok. Commit message is also fine.

@cielavenir
Copy link
Contributor

@yuhaoth emailed about copy rights issues (and suggestions) cc-ing Greg-san. I'd like to avoid confusing users until the situation is settled.

@yuhaoth yuhaoth force-pushed the pr/re-org-clang-apple-patch branch 2 times, most recently from d9a36d7 to 506bfaf Compare December 9, 2020 02:08

#elif defined(__APPLE__)
int _get_cpu_capabilities(void);
#define kHasICDSBShift 2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part looks same with the code in https://opensource.apple.com/source/xnu/xnu-6153.81.5/osfmk/arm/cpu_capabilities.h.auto.html .
It is release under http://www.opensource.apple.com/apsl/ .

I am not sure if it is conflict with BSD license .
@gbtucker please review .

@yuhaoth
Copy link
Contributor Author

yuhaoth commented Dec 9, 2020

This PR pass at https://travis-ci.org/github/yuhaoth/isa-l/builds/748306963

latest update is to remove some local tag in commit message :)
@gtucker , please review

@cielavenir
Copy link
Contributor

cielavenir commented Dec 9, 2020

for now please WIP this PR. ok mach stuff removed

Author of this patch is Taiju Yamada <[email protected]>
Re-organized by Jerry Yu <[email protected]>

Clang version must be later than 9.x according to https://reviews.llvm.org/D61719

Change-Id: I7516cca17ef4556b828fb6ecfa755e6451052359
Signed-off-by: Jerry Yu <[email protected]>
@yuhaoth
Copy link
Contributor Author

yuhaoth commented Dec 9, 2020

Apple support has been removed .

@gbtucker please review

@yuhaoth yuhaoth changed the title Re-org clang apple patch Fix clang build fail Dec 9, 2020
@yuhaoth
Copy link
Contributor Author

yuhaoth commented Dec 9, 2020

@gbtucker
Copy link
Contributor

Thanks @yuhaoth and @cielavenir for working together and separating out the clang issue from other. I can schedule this part for integration and leave the other as WIP for now.

@gbtucker gbtucker merged commit bc8b2ae into intel:master Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants