-
Notifications
You must be signed in to change notification settings - Fork 330
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
Enable aarch64-amazon-linux triple #8228
base: next
Are you sure you want to change the base?
Conversation
Can this PR also be submitted to the upstream LLVM repository? |
@MaxDesiatov thank you for the quick review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how we square this with
Please don't add more elements to *Triples.
in the comment block above the Triples
arrays.
It seems like we'll have to add this or things won't work, though really the problem is things calling the compiler with an incomplete triple.
@ALstair good catch about the comment above :-) |
Looking at #8227 I wonder whether there's a problem with the front-end figuring out what the triple should be in the first place, as CMake failed during a link step when trying to do
and if adding that triple to the list fixes it, that suggests that |
Looks like maybe |
Which seems to be set from |
OK, so I think what happens is Presumably this is generating the wrong result (I think it probably returns My guess is that you should update |
I was also seeing this issue when trying to build on Alpine Linux. It incorrectly inferred |
add
aarch64-amazon-linux
triplet to allow compilation for Amazon Linux 2023 on Graviton CPUThis should address #8227