-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
build: update gmp to 6.3.0 #6317
Conversation
3117d56
to
cc9bd9b
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.
utACK 9fc3440
|
||
define $(package)_set_vars | ||
$(package)_config_opts+=--enable-cxx --enable-fat --disable-shared | ||
$(package)_config_opts += --disable-shared --enable-cxx --enable-fat |
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.
nit: why did you re-ordered this one?
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.
Alphabetical order
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.
utACK 9fc3440
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.
ACK 9fc3440
$(package)_cflags_aarch64 += -march=armv8-a | ||
$(package)_cflags_armv7l += -march=armv7-a | ||
$(package)_cflags_x86_64 += -march=x86-64 |
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.
has any thought been had to risc-v?
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.
It's unclear what would be a suitable "base" march
for 64-bit RISC-V since there seems to be limited use of riscv64
as such a parameter.
rv64i
would be making the fewest possible assumptions (the E
variant is supported only assembly tools by LLVM as of this writing, source, from here on out, let's assume the I
variant) but on the other hand, there is documentation that asserts that rv64g
is complete for general computing (source) and projects like Debian use rv64gc
as the baseline (source) though vector extensions require rv64gcv
.
Extensions are enumerated in the march
explicitly, of which there are many (source) though LLVM offers 6 different profiles (see source above) based on the architecture profiles specified by the RISC-V foundation (source).
As an aside, the x86-64
march
is a base profile for AMD64 but we could investigate if we should enforce minimum processor requirements in our AMD64 binaries if benchmarks prove provide significant performance over the base profile being used now but that's an exercise for a future PR.
Benchmarks: develop:
GMP bump
|
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.
utACK 9dad525
(no diff from prior)
Additional Information
After bls-signatures#92, GMP is re-enabled for Apple Silicon macOS targets so long as GMP 6.3.0 or higher is used. GMP significantly contributes to performance improvements in bls-signatures, generally to the tune of ~50% (source).
The URL has been changed based on guidance from the Homebrew recipe for
gmp
(source).Breaking Changes
None expected.
Checklist: