[Nix-dev] Re: Another approach at parallelizing in-build jobs

Ludovic Courtès ludo at gnu.org
Sun Jun 20 21:11:03 CEST 2010


Hi Peter,

Peter Simons <simons at cryp.to> writes:

>  >> the Linux kernel, GHC, GCC, glibc, etc.
>  >
>  > Among the thousands of packages in these distros, it may be that not
>  > all of them are as good as the 4 projects you mention.

[...]

> For those packages I mentioned, the cost/benefit ratio is extremely
> favorable, because there's no significant risk that the builds are
> broken, yet, there is a lot of time to be saved by utilizing more than
> one core to compile them.

Agreed.  (Though it’s unclear how much time would be saved on
hydra.nixos.org by doing this.)

> For other packages, that cost/benefit ratio is far worse. Consequently,
> I don't believe that we should set out to build *everything* with
> parallel compilation enabled.

[...]

> Does that sound like a reasonable approach to you?

Yes, sure.

Thanks,
Ludo’.




More information about the nix-dev mailing list