[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? |
Sure! Thanks for the work, man, builds perfectly for me on the |
|
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. |
|
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