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

Reply via email to