-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Switch to building GMP from an unofficial git mirror #14767
Conversation
c38424d
to
5fd52f3
Compare
|
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.
LGTM if build and test passes.
test \ | ||
"$(tar --create gmp/ --sort=name --mtime=1970-01-01Z --owner=0 --group=0 --numeric-owner | sha256sum)" = \ | ||
"d606ff6a4ce98692f9920031e85ea8fcf4a65ce1426f6f0048b8794aefed174b -"; \ | ||
# NOTE: This removes also libgmp.so, which git depends on |
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.
And also wget
, and probably a ton of other stuff.
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.
Yeah, but git is relevant because we're using it a few lines above. The comment is there to explain why the removal of the installed GMP has to be done here and not before.
Replaces #14760.
Note: This should not be merged without #14768.
This is just a minimal part of #14760 that's sufficient to fix the GMP build.
In the end I decided to submit this as a new PR rather than take over #14760. The original PR has some other unrelated changes (like evmone or cmake) and generally looks like it's just a messy branch meant to test things out rather to be merged (it's even called a "sandbox"). It also has some minor refactors and I'd actually like to add more (like switching to a build from Ubuntu sources or installing cmake from a package), but might require some discussion and we need the GMP fix soon, so I'm going to do all that in a separate PR.