gfortran48: disable parallel make to avoid apparent race condition

See <http://hydra.nixos.org/build/7125754> as an example of a failed build.
This commit is contained in:
Peter Simons 2013-12-17 12:18:07 +01:00
parent 42560c78bb
commit 3e052e242f

View file

@ -484,11 +484,15 @@ stdenv.mkDerivation ({
passthru = { inherit langC langCC langAda langFortran langVhdl
langGo enableMultilib version; };
/* From gccinstall.info:
"parallel make is currently not supported since collisions in profile
collecting may occur"
*/
enableParallelBuilding = !profiledCompiler;
/* gccinstall.info says that "parallel make is currently not supported since
collisions in profile collecting may occur".
Parallel make of gfortran is disabled because of an apparent race
condition concerning the generation of "bconfig.h". Please try and
re-enable parallel make for a later release of gfortran to check whether
the error has been fixed.
*/
enableParallelBuilding = !profiledCompiler && !langFortran;
meta = {
homepage = http://gcc.gnu.org/;