-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[GMP] Patch for Apple Silicon #42293
[GMP] Patch for Apple Silicon #42293
Conversation
Can you also add the patch to https://github.com/JuliaPackaging/Yggdrasil/tree/master/G/GMP? |
@mryodo Can you test this on your machine and confirm the build now works? |
Does anyone know if there are license compatibility issues with incorporating this patch into the Julia repo? Afaict gmp is GPL/LGPL... |
|
Has someone reported this upstream to |
@stevengj : The patch was provided by upstream. |
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.
Looks great to me!
Great! Now the adding the patch to Yggrdasil and also bumping the GMB build we use when not building from source would be the next step. |
Yggdrasil patch is already available, here: JuliaPackaging/Yggdrasil#3640 |
Not sure what you mean about the non-source gmb lib version, can you flesh out your comment? |
Okay landed. Can you bump julia/stdlib/GMP_jll/Project.toml Line 3 in 52ec8c6
6.2.1+1
and then This will update what binary we will pull down when we don't build against the source version. A build from BinaryBuilder is the default (on CI as well) |
Pushed updates. |
Something went wrong. It should have updated https://github.com/JuliaLang/julia/blob/master/deps/checksums/gmp instead of creating many files. @staticfloat any ideas? |
@vchuravy didn't let the script run all the way through. Fixed and pushed. |
Not seeing the push, yet :) |
311f397
to
7b3afa1
Compare
Force push failed on me. Now. :) |
* [GMP] Patch for Apple Silicon (cherry picked from commit 764159c)
* [GMP] Patch for Apple Silicon
* [GMP] Patch for Apple Silicon
* [GMP] Patch for Apple Silicon
GMP appears to need a patch for Arm64, thank you to @domschl for finding this!
Ideally, this will resolve #42184