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

 
 

You are not allowed to post comments on this tracker with your current authentification 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: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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 (2kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 27 Sep 2010 01:01:28 PM UTCzagorAttached File-=>Added make-J-param.patch, #21552

    Back to the top


    Powered by Savane 3.1-cleanup