lix/src
Peter Simons 8b7f8b56f1 Added support for passing an (impure) NIX_BUILD_CORES variable to build expressions.
This patch adds the configuration file variable "build-cores" and the
command line argument "--cores". These settings specify the number of
CPU cores to utilize for parallel building within a job, i.e. by passing
an appropriate "-j" flag to GNU Make. The default value is 1, which
means that parallel building is *disabled*. If the number of build cores
is specified as 0 (synonymously: "guess" or "auto"), then the actual
value is supposed to be auto-detected by builders at run-time, i.e by
calling the nproc(1) utility from coreutils.

The environment variable $NIX_BUILD_CORES is available to builders, but
the contents of that variable does *not* influence the hash that goes
into the $out store path, i.e. the number of build cores to be utilized
can be changed at will without requiring any re-builds.
2010-06-23 14:34:08 +00:00
..
bin2c * Fix building on Cygwin (http://hydra.nixos.org/build/325071). 2010-03-16 13:01:52 +00:00
boost * Install some headers in the right location. 2009-03-05 14:57:50 +00:00
bsdiff-4.3 * Mac OS X 10.5 compatibility. 2007-12-13 22:06:19 +00:00
libexpr * builtins.toXML: propagate the string context. This is a regression 2010-06-10 10:29:50 +00:00
libmain Added support for passing an (impure) NIX_BUILD_CORES variable to build expressions. 2010-06-23 14:34:08 +00:00
libstore Added support for passing an (impure) NIX_BUILD_CORES variable to build expressions. 2010-06-23 14:34:08 +00:00
libutil * Sync with the trunk. 2010-05-07 14:46:47 +00:00
nix-env * Remove an accidentally committed debug statement. 2010-05-30 20:29:56 +00:00
nix-hash * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00
nix-instantiate * Sync with the trunk. 2010-05-07 14:46:47 +00:00
nix-log2xml * Ignore carriage returns. 2008-11-25 02:30:35 +00:00
nix-setuid-helper * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00
nix-store Add XML output to `nix-store'. 2010-05-31 16:36:24 +00:00
nix-worker * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00
Makefile.am * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00