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 - Normal Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  3.81 Operating System:  Any
Fixed Release:  None Triage Status:  None

Add a New Comment(Rich 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 Files:
   
   
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 add your encouragement to it.
This task has 1 encouragement so far.

Only logged-in users can vote.

 

 

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2006-07-25 bobbogo Carbon-Copy- => Added bobbogo

Back to the top


Powered by Savane 3.3