Enable parallel building of gcc, glibc, gmp, mpfr, ncurses, coreutils, perl, python, git, and qt4.

If a build expressions has set "enableParallelBuilding = true", then the
generic builder may utilize more than one CPU core to build that particular
expression. This feature works out of the box for GNU Make. Expressions that
use other build drivers like Boost.Jam or SCons have to specify appropriate
flags such as "-j${NIX_BUILD_CORES}" themselves.

svn path=/nixpkgs/trunk/; revision=23042
This commit is contained in:
Peter Simons
2010-08-08 18:51:42 +00:00
parent 089ee5da11
commit 1a6039cb45
22 changed files with 60 additions and 5 deletions

View File

@@ -88,6 +88,8 @@ stdenv.mkDerivation ( {
libPrefix = "python${majorVersion}";
};
enableParallelBuilding = true;
meta = {
platforms = stdenv.lib.platforms.all;
};