[Nix-dev] Re: make -jx within builds?

Eelco Dolstra e.dolstra at tudelft.nl
Mon May 31 14:27:19 CEST 2010


Hi,

On 05/29/2010 11:39 PM, Marc Weber wrote:

> Does it even make sense to ask nix to add -j $NUM_CORES -l $NUM_CORES to
> makeFlags if NUM_CORES is > 1 ?

No, because Nix should be agnostic with respect to the build system used in the
derivation.  If you start down this path, you'll also need to add environment
variables for parallelism in cmake, ant, ...

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list