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

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

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>


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 rhg (Voted in favor of this item)

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

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.5