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

 
 

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

Submitter:  Dave Yost <yost>
Submitted:  Sun 04 May 2014 10:11:46 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  None Operating System:  None
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

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 yost (Submitted the item)
  •  

    There are 0 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.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-04 psmith StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code