-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Define AArch64 as "not x86" #13558
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
Define AArch64 as "not x86" #13558
Conversation
|
The original piece of code looks strange to me. Couldn't there simply be a |
|
@nalimilan: thanks! updated. |
|
@ginggs Thanks, but I should have made it clearer that my comment was addressed to other developers to get their opinion about this. I hope they don't prove me wrong and that you don't have to go back to your original patch... |
|
@nalimilan No worries, that was how I understood your comment. I figured I'd just provide both options, for comparison. @pao Sorry for mangling your username! |
|
No problem! I probably should have submitted this; just didn't think about it. Thanks! |
|
@tkelman @ViralBShah Is this OK to merge? I've just bumped into this problem, and indeed raising an error without even allowing the caller to specify the word size by hand is quite inconvenient. |
|
This is probably okay, but I do wonder what would happen with random other exotic arches that people may try to build Julia on. |
|
It will probably fail somewhere in the build. :-) The point is to make it possible to continue with the build, trying several build flags until it (possibly) works. |
|
This is good to merge to solve the immediate problem. Should ideally squash these commits though. |
This allows the build to proceed for AArch64 (mentioned in #10791) and others.
|
Squashed. Thanks for considering! |
Define AArch64 as "not x86"
|
I guess BINARY is not strictly required here, but may be required eventually to get 64-bit BLAS going and such. |
|
Could this be backported to the 0.4 series please? |
|
If it doesn't cause any problems on master for a bit this should be safe. |
|
@tkelman I labelled it so it can at least be considered, not a vouch of confidence for backportability |
|
This should be safe for a backport. |
Originally posted by @pao in #10791
[pao: fix my own username :D]