patchmake - Patches: patch #7327, Add the option -J / --auto-jobs to...


You are not allowed to post comments on this tracker with your current authentication level.

patch #7327: Add the option -J / --auto-jobs to auto-decide a sane number of job slots

Submitter:  Björn Stenberg <zagor>
Submitted:  Mon 27 Sep 2010 01:01:28 PM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Fixed Release:  None

Mon 27 Sep 2010 01:01:28 PM UTC, original submission:  

This patch adds the option -J / --auto-jobs, which uses the sysconf(_SC_NPROCESSORS_ONLN) function to decide the number of job slots to use.

This is 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 -j.

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.

Björn Stenberg <zagor>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #21552:  make-J-param.patch added by zagor (2KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by zagor (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-27 zagor Attached File- Added make-J-param.patch, #21552

    Back to the top

    Powered by Savane 3.13-9c15.
    Corresponding source code