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

Submitted by:  Björn Stenberg <zagor>
Submitted on:  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>

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.3