ghc: disable parallel building

It sucks, I know, but GHC just doesn't compile reliably when built with
some -j<n> option. :-( We have build errors because of apparent race
conditions all over the place on Hydra. This causes so much trouble for
users that it's not worth keeping this option enabled, IMHO.
This commit is contained in:
Peter Simons 2014-01-21 20:35:49 +01:00
parent 712458c3fc
commit cb21683794
4 changed files with 0 additions and 14 deletions

View File

@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
buildInputs = [ ghc perl gmp ncurses ];
enableParallelBuilding = true;
buildMK = ''
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"

View File

@ -12,17 +12,6 @@ stdenv.mkDerivation rec {
buildInputs = [ ghc perl gmp ncurses ];
# My attempts to compile GHC with parallel build support enabled, failed
# 4 consecutive times with the following error:
#
# building rts/dist/build/AutoApply.debug_o
# building rts/dist/build/AutoApply.thr_o
# rts_dist_HC rts/dist/build/AutoApply.debug_o
# /nix/store/1iigiim5855m8j7pmwf5xrnpf705s4dh-binutils-2.21.1a/bin/ld: cannot find libraries/integer-gmp/dist-install/build/cbits/gmp-wrappers_o_split/gmp-wrappers__1.o
# collect2: ld returned 1 exit status
# make[1]: *** [libraries/integer-gmp/dist-install/build/cbits/gmp-wrappers.p_o] Error 1
enableParallelBuilding = false;
buildMK = ''
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-includes="${gmp}/include"

View File

@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
buildInputs = [ ghc perl gmp ncurses ];
enableParallelBuilding = true;
buildMK = ''
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"

View File

@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
buildInputs = [ ghc perl gmp ncurses ];
enableParallelBuilding = false; # the same errors as 7.6.1
buildMK = ''
libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"