Skip to content
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

Update Singular, fix GMP dependency #1718

Merged
merged 1 commit into from
Oct 4, 2020

Conversation

fingolfin
Copy link
Member

Force GMP_jll to build with version 6.1.2, to ensure the resulting
binaries work in both Julia <= 1.5 and >= 1.6

CC @staticfloat @thofma

If this works, we can next update PR #1695 similarly (CC @benlorenz).

Finally, I'd be tempted to apply this dependency patch to "all" JLLs using GMP_jll (with [skip ci]) just to make sure we don't run into this issue again by accident, down the line. Or is that a bad idea for some reason?

@fingolfin
Copy link
Member Author

OK, sadly the required code (see #1682 (comment)) is not yet in there, so I'll mark this as a draft until it is.

@fingolfin
Copy link
Member Author

Hmm, filtering out Windows / mingw builds doesn't work anymore?

@giordano
Copy link
Member

giordano commented Oct 3, 2020

Yeah, you need

platforms = filter!(p -> !Sys.iswindows(p), platforms)

@fingolfin
Copy link
Member Author

Aha, so all build scripts using isa Windows or similar will need to be adjusted? Ok...

@giordano
Copy link
Member

giordano commented Oct 3, 2020

Yeah....

@giordano
Copy link
Member

giordano commented Oct 3, 2020

However note that the Sys.is... should be mostly backward compatible with old versions of Julia and BinaryBuilder (only Sys.isfreebsd might have some problems in old versions of Julia)

Force GMP_jll to build with version 6.1.2, to ensure the resulting
binaries work in both Julia <= 1.5 and >= 1.6
@fingolfin fingolfin marked this pull request as ready for review October 4, 2020 09:22
@fingolfin
Copy link
Member Author

This works now

@giordano
Copy link
Member

giordano commented Oct 4, 2020

Ok, let's see how this goes!

@giordano
Copy link
Member

giordano commented Oct 4, 2020

For the record, there is a minor issues with the compat bounds: JuliaPackaging/BinaryBuilderBase.jl#45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants