From f682ff35215dcddf79350c775af38f61895101cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 3 Aug 2012 19:59:43 +0200 Subject: [PATCH] gcc47: disabling parallel build if profiled bootstrap required The gccinstall manual says that parallel building with a profiled bootstrap is not supported. As we don't have much means of checking if our profiled bootstrap with parallel build was good or bad, I propose going to safe terrain. --- pkgs/development/compilers/gcc/4.7/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/gcc/4.7/default.nix b/pkgs/development/compilers/gcc/4.7/default.nix index a8fcef31e1b2..084e56173a2b 100644 --- a/pkgs/development/compilers/gcc/4.7/default.nix +++ b/pkgs/development/compilers/gcc/4.7/default.nix @@ -408,7 +408,11 @@ stdenv.mkDerivation ({ passthru = { inherit langC langCC langAda langFortran langVhdl langGo enableMultilib version; }; - enableParallelBuilding = true; + /* From gccinstall.info: + "parallel make is currently not supported since collisions in profile + collecting may occur" + */ + enableParallelBuilding = !profiledCompiler; meta = { homepage = http://gcc.gnu.org/;