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

 
 

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

patch #5108: Selective serialization in parallel builds

Submitted by:  Cesar Crusius <cesarcrusius>
Submitted on:  Fri 19 May 2006 05:35:13 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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 (5kB - text/x-diff - Selective serialization in parallel builds)

 

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 0 encouragements 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
Fri 19 May 2006 05:35:13 PM UTCcesarcrusiusAttached File-=>Added serial-patch.diff, #10006

Back to the top


Powered by Savane 3.1-cleanup