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

Add flag to build with integer-simple #13

Closed
michaelpj opened this issue Jan 20, 2022 · 3 comments
Closed

Add flag to build with integer-simple #13

michaelpj opened this issue Jan 20, 2022 · 3 comments

Comments

@michaelpj
Copy link

It would be nice to have a flag to enable building with integer-simple, even if it was slower.

Reason for asking: HLS builds some static binaries on an alpine distribution that forces integer-simple in GHC.

Bodigrim added a commit that referenced this issue Jan 20, 2022
Bodigrim added a commit that referenced this issue Jan 20, 2022
Bodigrim added a commit that referenced this issue Jan 20, 2022
@Bodigrim
Copy link
Owner

I made a separate release without integer-gmp dependency, https://hackage.haskell.org/package/mod-0.0.0.0. Does it help?

Moving forward, I'll switch future versions of mod to ghc-bignum to let GHC to choose a numeric backend.

@michaelpj
Copy link
Author

Thanks! Let me see if that makes a difference. Using ghc-bignum does seem like the way of the future indeed.

@Bodigrim
Copy link
Owner

Fixed in 86e1e35.

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

No branches or pull requests

2 participants