[bug #17873] .NOTPARALLEL enhancements

2006-09-27 Thread Dave Yost

URL:
  http://savannah.gnu.org/bugs/?17873

 Summary: .NOTPARALLEL enhancements
 Project: make
Submitted by: yost
Submitted on: Wednesday 09/27/2006 at 18:25
Severity: 3 - Normal
  Item Group: Enhancement
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
   Component Version: 3.81
Operating System: Any
   Fixed Release: None

___

Details:

Today all a makefile can do to influence parallel execution is to mark the
entire makefile as unsafe for -j by mentioning .NOTPARALLEL as a target.

Finer control is needed. The fix should go something like the following.

.NOTPARALLEL
If .NOTPARALLEL is mentioned as a target, then by default the prerequisites
of all targets in this makefile will be built serially, even if the `-j'
option is given. If .NOTPARALLEL is mentioned as a prerequisite of a target,
then subsequent prerequisites of that target will be built serially, even if
the '-j' option is given (and even if .PARALLEL was mentioned previously in
this prerequisite list). (See also 5.4 Parallel Execution and 5.7.3
Communicating Options to a Sub-make.) 

.PARALLEL
If .PARALLEL is mentioned as a prerequisite of a target, then subsequent
prerequisites of that target will be built in parallel if the '-j' option is
given, even if .NOTPARALLEL is mentioned as a target (or was mentioned
previously in this prerequisite list). (See also 5.4 Parallel Execution and
5.7.3 Communicating Options to a Sub-make.) 






___

Reply to this item at:

  http://savannah.gnu.org/bugs/?17873

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


[bug #17701] Description of .NOTPARALLEL is incorrect

2006-09-27 Thread Dave Yost

Follow-up Comment #1, bug #17701 (project make):

The sentence in question should be moved to 5.4, and the .NOTPARALLEL entry
should direct the reader there.  See also bug #17873 .PARALLEL
enhancements.

___

Reply to this item at:

  http://savannah.gnu.org/bugs/?17701

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make