[Mageia-dev] make -l ?
Pascal Terjan
pterjan at gmail.com
Fri Aug 31 11:40:18 CEST 2012
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.
More information about the Mageia-dev
mailing list