bugmake - Bugs: bug #16255, export a unique slot number

 
 

bug #16255: export a unique slot number

Submitted by:  Egmont Koblinger <egmont>
Submitted on:  Mon 03 Apr 2006 09:51:35 AM UTC  
Votes:  1  
 
Severity: 3 - NormalItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 3.81Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 03 Apr 2006 09:51:35 AM UTC, original submission:

It would be cool if at parallel builds make exported a shell
variable whose value is a reasonably small integer that is
unique amongst the jobs running at the same time. For example
if I type "make -j10" then this would be a number from the 0..9
interval.

Rationale: we have a distributed build system where we build
packages of a complete Linux distribution. The actual build is
performed on several hosts, each one runs 1 build at a time.
The main server controls the whole procedure using a Makefile
set up based on the packages' build-time dependencies (loops
eliminated), and performing a "make -j <number_of_build_hosts>"
command to rebuild all the packages.

Currently we have some dirty tricks to find a free client that
does not run any build so is willing to accept the new one.
I think it wouldn't be too hard for make to tell this
explicitely, through the SLOT_NUMBER (or something else)
environment variable.

Egmont Koblinger <egmont>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 1 encouragement 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
Tue 25 Jul 2006 11:50:48 AM UTCbobbogoCarbon-Copy-=>Added bobbogo

Back to the top


Powered by Savane 3.1-cleanup