bug-make
[Top][All Lists]
Advanced

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

[bug #35062] Add lazy evaluation of prerequisites


From: Lukasz Mielicki
Subject: [bug #35062] Add lazy evaluation of prerequisites
Date: Wed, 14 Dec 2011 01:17:00 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2

URL:
  <http://savannah.gnu.org/bugs/?35062>

                 Summary: Add lazy evaluation of prerequisites
                 Project: make
            Submitted by: lmielick
            Submitted on: Wed 14 Dec 2011 01:16:59 AM GMT
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

The idea is not to evaluate prerequisites of target not being make goals. Such
approach would improve non-recursive make performance by skipping unnecessary
wildcard/shell calls for targets not being build.

E.g. the following Makefile would output only:
A prerequisites evaluated

all: a
a: $(info A prerequisites evaluated)
b: $(info B prerequisites evaluated)
.PHONY: a b all

This could be handled in a way similar to .SECONDEXPANSION not to cause
compatibility issues in cases where prerequisites expansions  causes side
effects. However greater care may be needed to support eval.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35062>

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




reply via email to

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