patchmake - Patches: patch #5108, Selective serialization in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5108: Selective serialization in parallel builds

Submitter:  Cesar Crusius <cesarcrusius>
Submitted:  Fri 19 May 2006 05:35:13 PM UTC
Votes: 100
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Fixed Release:  None

Mon 02 Jan 2023 07:57:05 PM UTC, comment #2: 

GNU make 4.4 includes a .WAIT special prerequisite and the enhancements to .NOTPARALLEL, that should satisfy this request.

Paul D. Smith <psmith>
Group administrator
Thu 28 Sep 2006 09:16:48 PM UTC, comment #1: 

Similar to bug #17873

Dave Yost <yost>
Fri 19 May 2006 05:35:13 PM UTC, original submission:  

This patch introduces a .SERIAL special target which causes all its dependencies to be built as if make was called with '-j1'. This solves the "ar" problem described in the section "Dangers When Using Archives" section of the manual.

This is also very useful for linking libraries and executables, as those tasks are I/O bound and can lock the machine if done in parallel.

I think SCO make has a similar thing using a .MUTEX special target. I don't care about either name, and would use .NOTPARALLEL but that can break existin makefiles where .NOTPARALLEL has bogus dependencies.

Cesar Crusius <cesarcrusius>

 

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

Attached Files
file #10006:  serial-patch.diff added by cesarcrusius (5KiB - text/x-diff - Selective serialization in parallel builds)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by rhg (Voted in favor of this item)
  •  

    There are 100 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-02 psmith StatusNone Wont Do
        Open/ClosedOpen Closed
    2016-03-11 rhg Carbon-Copy- Added rhg
    2006-05-19 cesarcrusius Attached File- Added serial-patch.diff, #10006

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code