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

Fix Android-prebuilt ghc build #42312

Merged
merged 2 commits into from Jun 21, 2018

Conversation

matthewbauer
Copy link
Member

@matthewbauer matthewbauer commented Jun 21, 2018

Motivation for this change

This should address some of the issues with GHC on prebuilt Android.

Note: even with the GMP fix, GHC will still not use it for cross compilation because the default for all cross GHC will be integer-simple (https://github.com/ghc/ghc/blob/master/mk/flavours/perf-cross.mk#L13) & it is never overriden in the GHC derivtion.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: gmp

Partial log (click to expand)

/nix/store/qd6dh82ln0i0pgqrap1dyj123rjjasz7-gmp-6.1.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gmp

Partial log (click to expand)

/nix/store/mfy2a3g89p3z45js8ima77bjs172vip2-gmp-6.1.2

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: gmp

Partial log (click to expand)

/nix/store/01aav1nfvfqn1j18kc1n5llhzwq1a7kv-gmp-6.1.2

The triple is needed for armv7a-android-prebuilt to work (partly) with
GHC.

- also set EXTRA_CC_OPTS for ghc8.2
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: gmp

Partial log (click to expand)

/nix/store/qd6dh82ln0i0pgqrap1dyj123rjjasz7-gmp-6.1.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gmp

Partial log (click to expand)

/nix/store/mfy2a3g89p3z45js8ima77bjs172vip2-gmp-6.1.2

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: gmp

Partial log (click to expand)

/nix/store/01aav1nfvfqn1j18kc1n5llhzwq1a7kv-gmp-6.1.2

@peti peti merged commit 624a9ff into NixOS:master Jun 21, 2018
@matthewbauer matthewbauer deleted the fix-android-prebuilt-ghc branch June 27, 2018 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants