Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2003 12:26:03 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        kientzle@acm.org
Cc:        current@freebsd.org
Subject:   Re: Buildworld fails in 5.1
Message-ID:  <20030722.122603.65161896.imp@bsdimp.com>
In-Reply-To: <3F1C18CB.6030201@acm.org>
References:  <3F1C1695.30409@acm.org> <20030721163719.GI12996@roark.gnf.org> <3F1C18CB.6030201@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

In message: <3F1C18CB.6030201@acm.org>
            Tim Kientzle <kientzle@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030722.122603.65161896.imp>