[Mageia-dev] make -l ?
Thierry Vignaud
thierry.vignaud at gmail.com
Fri Aug 31 11:51:36 CEST 2012
n 31 August 2012 11:40, Pascal Terjan <pterjan at gmail.com> wrote:
> Currently %make is expanded to make -j<nb cpu>
>
> I'd like it to be replaced with make -l<nb cpu>
>
> For those we don't know the difference:
>
> -j [jobs], --jobs[=jobs]
> Specifies the number of jobs (commands) to run
> simultaneously. If there is more than one -j option, the last one is
> effective. If the -j option
> is given without an argument, make will not limit the
> number of jobs that can run simultaneously.
>
> -l [load], --load-average[=load]
> Specifies that no new jobs (commands) should be started if
> there are others jobs running and the load average is at least load
> (a floating-point
> number). With no argument, removes a previous load limit.
>
> In short, this means taking into account the current load of the machine.
Why not.
It would be better to test it on some big packages first.
And timing their build with both "make -j" & "make -l"
More information about the Mageia-dev
mailing list