mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
haskell: re-enable aarch64, but disable parallel builds on that arch.
This is a workaround for unreliable parallel Haskell builds on aarch64. See https://ghc.haskell.org/trac/ghc/ticket/15449
This commit is contained in:
parent
89beaef64d
commit
4babe7f799
@ -169,6 +169,5 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
meta.license = stdenv.lib.licenses.bsd3;
|
||||
# AArch64 should work in theory but eventually some builds start segfaulting
|
||||
meta.platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "armv7l-linux" /* "aarch64-linux" */];
|
||||
meta.platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "armv7l-linux" "aarch64-linux"];
|
||||
}
|
||||
|
@ -88,7 +88,8 @@ stdenv.mkDerivation (rec {
|
||||
sha256 = "1z05vkpaj54xdypmaml50hgsdpw29dhbs2r7magx0cm199iw73mv";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
# https://ghc.haskell.org/trac/ghc/ticket/15449
|
||||
enableParallelBuilding = !buildPlatform.isAarch64;
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
|
@ -90,7 +90,8 @@ stdenv.mkDerivation (rec {
|
||||
sha256 = "1mk046vb561j75saz05rghhbkps46ym5aci4264dwc2qk3dayixf";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
# https://ghc.haskell.org/trac/ghc/ticket/15449
|
||||
enableParallelBuilding = !buildPlatform.isAarch64;
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
|
@ -86,7 +86,8 @@ stdenv.mkDerivation (rec {
|
||||
sha256 = "0dkh7idgrqr567fq94a0f5x3w0r4cm2ydn51nb5wfisw3rnw499c";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
# https://ghc.haskell.org/trac/ghc/ticket/15449
|
||||
enableParallelBuilding = !buildPlatform.isAarch64;
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
|
@ -48,7 +48,9 @@ in
|
||||
# We cannot enable -j<n> parallelism for libraries because GHC is far more
|
||||
# likely to generate a non-determistic library ID in that case. Further
|
||||
# details are at <https://github.com/peti/ghc-library-id-bug>.
|
||||
, enableParallelBuilding ? (stdenv.lib.versionOlder "7.8" ghc.version && !isLibrary) || stdenv.lib.versionOlder "8.0.1" ghc.version
|
||||
#
|
||||
# Currently disabled for aarch64. See https://ghc.haskell.org/trac/ghc/ticket/15449.
|
||||
, enableParallelBuilding ? ((stdenv.lib.versionOlder "7.8" ghc.version && !isLibrary) || stdenv.lib.versionOlder "8.0.1" ghc.version) && !(stdenv.buildPlatform.isAarch64)
|
||||
, maintainers ? []
|
||||
, doCoverage ? false
|
||||
, doHaddock ? !(ghc.isHaLVM or false)
|
||||
|
Loading…
Reference in New Issue
Block a user