bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #16255] export a unique slot number


From: Egmont Koblinger
Subject: [bug #16255] export a unique slot number
Date: Mon, 3 Apr 2006 09:51:36 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; hu) Opera 8.52

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16255>

                 Summary: export a unique slot number
                 Project: make
            Submitted by: egmont
            Submitted on: Monday 04/03/06 at 09:51
                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

    _______________________________________________________

Details:

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.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16255>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]