[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch #7327] Add the option -J / --auto-jobs to auto-decide a sane numb
[Patch #7327] Add the option -J / --auto-jobs to auto-decide a sane number of job slots
Thu, 13 Jan 2011 00:17:04 +0100
(I submitted this patch a few months ago but since it has not recieved any
attention I thought I'd try proposing it on this list.)
This patch adds the option -J / --auto-jobs, which uses the
sysconf(_SC_NPROCESSORS_ONLN) function to decide the number of job slots to
This is especially useful in distributed build farms, where you have a large
set of different machines where you want to take advantage of all machines'
multiprocessing cababilities without getting the memory penalty of unlimited
With -J we can set the flag in the Makefile and know each machine will do the
best it can. Without -J we have to set a custom -j number in each and every box.
- [Patch #7327] Add the option -J / --auto-jobs to auto-decide a sane number of job slots,
Björn Stenberg <=