help-make
[Top][All Lists]
Advanced

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

Re: Improvement on parallel make


From: Alexey Neyman
Subject: Re: Improvement on parallel make
Date: Tue, 12 Dec 2006 11:27:06 +0300
User-agent: KMail/1.6.2

On Tuesday 12 December 2006 00:43, Brendan Heading wrote:
> > <<<
> > foo: bar .WAIT baz
> > fum: bar boo
> > fun: baz buu
> > <<<
> > 
> > the command "make -j 4 fum fun" will still serialize the "bar" and 
> > "baz" targets, with "bar" completed before "baz" is started. Note 
> > that the targets command line does not include "foo" - which 
> > specifies the .WAIT behavior.
> 
> Further to my reply to Philip earlier, why would bar and baz need to 
> be serialized in the first place unless there was a dependency ? And
> if there is a dependency, why would someone chose to use this syntax
> rather than making that dependency explicit in the Makefile ?

E.g. both bar and baz can access the same file for writing and the 
utility being used by bar and baz does not provide file locking.

Didn't I describe the "ar" too close?
:)

Regards,
Alexey.

-- 
Do you sleep with your window unlocked? Be seeing you...
                        -- Arilou, SC2




reply via email to

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