bugmake - Bugs: bug #42289, .NOTPARALLEL should be allowed to...

 
 

bug #42289: .NOTPARALLEL should be allowed to have prerequisites

Submitted by:  Dave Yost <yost>
Submitted on:  Sun 04 May 2014 10:11:46 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: NoneOperating System: None
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 04 May 2014 10:49:10 PM UTC, comment #1:

Duplicate of bug #17873 ...

People seem to want different things. For example, some people want a list of targets that can never be built in parallel with any other target, so when make wants to build that target it will wait until all running jobs are done, run that one job, then move on with more jobs (possibly parallel, possibly not).

Other people want to provide a list of prerequisites that are mutually exclusive with each other but not with anything else (so any number of targets could be running in parallel, but only one of the mutually exclusive targets at a time).

Others seem to want a behavior like order-only prerequisites, but not quite, where a prerequisite being built doesn't cause the target to be rebuilt, AND building the target doesn't cause the prerequisite to be built (that is, if the prerequisite is needed for some other reason it will be built before the target, but building the target is not enough to build the prerequisite).

Paul D. Smith <psmith>
Project Administrator
Sun 04 May 2014 10:11:46 PM UTC, original submission:

Why can't there be two forms?

.NOTPARALLEL :

Don't do parallel execution in this Makefile.

.NOTPARALLEL : a b c

Don't do parallel execution of recipes for the given targets.

It is an error for a Makefile to use .NOTPARALLEL with and without dependencies.

Dave Yost <yost>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by yost (Submitted the item)
  •  

    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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 May 2014 10:49:10 PM UTCpsmithStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1