Re: Buildworld fails in 5.1

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Tue, 22 Jul 2003 12:26:03 -0600 (MDT)
In message: <3F1C18CB.6030201_at_acm.org>
            Tim Kientzle <kientzle_at_acm.org> writes:
: Gordon Tetlow wrote:
: > On Mon, Jul 21, 2003 at 09:36:37AM -0700, Tim Kientzle wrote:
: >>Hmmm...  Is that what .ORDER is for?  To work around a
: >>parallel make that gratuitously rebuilds things?
: > 
: > Right it serializes build dependencies. The problem with crunchgen ...
: 
: I would argue "the problem with make"... ;-)  I think it's pretty
: clear that
: 
: a b c: foo
:      buildabc
: 
: does not require that 'buildabc' be run three times.  Make
: should be able to note that 'buildabc' was already spawned
: for 'a' and just add 'b' and 'c' to the wait list for
: that operation, rather than running additional copies.

That's not how make works.

a b c: foo
	buildabc

is the same as:

a: foo
	buildabc
b: foo
	buildabc
c: foo
	buildabc
Received on Tue Jul 22 2003 - 09:26:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC