bug-make
[Top][All Lists]
Advanced

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

RE: [bug #13976] Regression in :: deps handling between V3.76 and V3.80


From: Paul D. Smith
Subject: RE: [bug #13976] Regression in :: deps handling between V3.76 and V3.80
Date: Fri, 5 Aug 2005 11:12:13 -0400

  > From: Paul Smith [mailto:address@hidden On Behalf Of Paul D. Smith

  >> all: foo .WAIT bar
  >> 
  >> foo: baz biz
  >> bar: boz booz

  >> would be that neither foo NOR any of its prerequisites would 
  >> be built until bar and all if its prerequisites were finished.

%% address@hidden writes:

  rm> Didn't you get that backwards?

  rm> Shouldn't it be that bar and its prerequistes are built after foo and
  rm> all its prerequisites?

Oh right.  So I had the other examples of order-only wrong too; it would
be:

    all: foo bar
    bar: | foo

But in order to get the full functionality you'd need:

    all: foo bar

    foo: baz biz
    bar: boz booz

    bar boz booz: | foo

And on and on for any prerequisites of bar, boz, and booz, etc.  Ouch.
This is more powerful than the proposed .WAIT in one way, though: since
it actually creates target prerequisites it isn't impacted by targets
being built through a different branch of the dependency graph.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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