Matthew Bauer
69cad91b5c
ghc843: don’t apply stripping in android
...
This breaks some library symbols apparently. ARM symbols must be
incorrectly stripped. Also some very weird issues with patchelf.
2018-06-25 17:13:02 -04:00
Matthew Bauer
2c2169c881
ghc: build shared on android
...
We run into issues otherwise
2018-06-25 17:12:02 -04:00
Will Dietz
2052323a78
ghc-8.4.3: minor fixes for cross-musl, same as used with 8.2.2
...
Patches are no longer needed, seem to be more or less upstreamed.
2018-06-25 13:19:49 -05:00
Will Dietz
ffdf8192b3
ghc843: apparently need LLVM when building against musl too
2018-06-23 12:20:02 -05:00
John Ericson
e050011aa3
Merge pull request #42311 from obsidiansystems/haskell-enable-shared-defaults
...
haskell: make generic builder follow compiler’s shared config
2018-06-21 18:07:11 -04:00
Matthew Bauer
9e4aebdd7b
ghc8.4: add android triple
...
The triple is needed for armv7a-android-prebuilt to work (partly) with
GHC.
- also set EXTRA_CC_OPTS for ghc8.2
2018-06-20 22:03:59 -04:00
Matthew Bauer
fd7a6ea0af
haskell: make generic builder follow compiler’s shared config
...
enableShared in generic-builder.nix should default to what the GHC
compiler was compiled with. Add a passthru to all of the GHC compilers
to hold the value of enableShared. If enableShared is not set in the
GHC we just use false as the default value for enableSharedLibraries.
Note: I may have missed some compilers. Only GHC & GHCJS are covered
by this commit but this shouldn’t break evaluation of anything else.
2018-06-20 18:40:53 -04:00
Matthew Justin Bauer
493ce3b2c4
Merge pull request #42050 from obsidiansystems/fix-ios-ghc
...
ghc8.4: build statically on prebuilt iOS
2018-06-14 17:37:06 -04:00
Matthew Bauer
3d811ff18b
ghc8.4: build statically on prebuilt iOS
...
Otherwise we run into issues in stage 1 with libffi.dylib unable to be
built. It is probably a similar case to the prebuilt Android.
/cc @ericson2314
2018-06-14 17:31:06 -04:00
Matthew Bauer
7bc2024fb7
ghc8.4.3: add gmp available check
...
This was left out in 812decd5c1
& should
be therer.
2018-06-14 15:54:25 -04:00
Peter Simons
deeeb5002c
ghc: add version 8.4.3
2018-05-30 03:46:16 +02:00