[Nix-dev] enableParallelbuilding for many packages

Ludovic Courtès ludovic.courtes at inria.fr
Thu Oct 25 10:25:58 CEST 2012


Hi,

Marc Weber <marco-oweber at gmx.de> skribis:

>> Presumably, yes.
> wireless-tools-29 was only built once, right?

Well, I tried to build everything just once.  So when one package failed
to build with -jN, I didn’t try another time to see if it would
magically build; knowing that a build succeeds X % of the time wouldn’t
buy us much, IMO.  :-)

> Which in turn means that we are like to require this:
>   enableParallelbuilding = 4; # don't set N to a higher value than 4

That doesn’t make much sense to me.  Either a package’s build system is
parallel-safe, or it’s not; when it is, just use $NIX_BUILD_CORES,
whatever its value is.

Thanks,
Ludo’.



More information about the nix-dev mailing list