-
-
Notifications
You must be signed in to change notification settings - Fork 14.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
sage: fix dependencies on Darwin/Clang16 #298957
Conversation
It appears m4rie only builds properly on Apple Clang; turning off optimizations seems to resolve the failing test cases. See https://bitbucket.org/malb/m4rie/issues/23/trying-to-compile-on-apple-m1
FlintQS is no longer maintained and has several bugs. As of sagemath/sage#35419, all of FlintQS's functionality is contained within Sage.
Usage of `std::bool_constant` prevents compilation using Clang; see linbox-team/givaro#225
Internal logging macro shadows std's `log2`, so we rename it.
Adds newer patches upstreamed from Fedora into Sage; CRLF endings in the `dietz` solver require `dos2unix` to apply the patches properly. Frankly, I have no idea how this previously compiled on gcc.
Thanks for splitting the patches! Could you paste the output log of building sympow without the relaxed test? Maybe this is an artifact of compiling the test program |
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.
Besides the sympow investigation and the GAP upgrade which we probably should postpone, I think this is ready to be merged!
Testing results:
(Mildly related: We pass a bunch of flags when building fflas-ffpack on x86_64, and I think the original intention was to disable extra instruction sets but cf7b63d#diff-674d5fa234d898a81bc18975ded922bc971cfee426b7c25a8d1ca42b09c716a7 inadvertently changed it to enable instruction sets. Maybe we should drop the x86_64 special case entirely since there's the |
On x86_64-darwin, ofBorg reports the error below while building sympow. The error looks like it comes from PARI.
|
No hardware support for 80-bit floating point (long double) on aarch64-darwin; patch upstreamed
Can be safely reverted after updating to 1.7.1 or beyond
texinfo4 fails to compile on aarch64-darwin, and singular is no longer constrained to use an older version
I've rewritten a few commit titles to match package names |
Thanks for the help! I will take a look at |
Explicitly setting
The generated I'm out of ideas at the moment, but would be happy to circle back to this if anyone could suggest a new lead. |
Malformed how? Can you upload one malformed |
After running
I could be mistaken on
which might be caused PARI using more bits of precision than Sympow. They're compiled with more or less the same flags, but I believe the test programs used to check the FPU are different. |
Thanks for the information. I think the entry point is the The weird thing from the log I posted above is that it complains about not finding the
which is basically the definition of
Do you already see weird output at this point, or does |
Description of changes
Split off from #264126.
The majority of these changes are minor patches to make code C++17 compliant; c8d30c0 removes the FlintQS package which has been entirely superseded and should no longer be used.
Also, we might want to remove
aarch64-darwin
from the platforms of Sympow (14c15253922082e021a23514b40bb89c92026755) and fix the Sympow dependence in Sage, but that's an issue for a different PR.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.