bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #17873] .NOTPARALLEL enhancements


From: Dave Yost
Subject: [bug #17873] .NOTPARALLEL enhancements
Date: Wed, 27 Sep 2006 18:25:33 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]