help-make
[Top][All Lists]
Advanced

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

Re: improvements for parallel makes ?


From: Christophe LYON
Subject: Re: improvements for parallel makes ?
Date: Fri, 21 Apr 2006 17:49:18 +0200
User-agent: Thunderbird 1.5 (X11/20051201)

Alexey,

You wrote:

Therefore, the patch I suggested uses another approach. If the next dependency has the "wait" flag set, make does not consider it and the dependencies further in the list until the jobs already running complete.

 and then

For example, the following Makefile:
<<<<
a: x1 .WAIT x2
b: x2 .WAIT x3
<<<<

when run with "make -j a b", starts the targets in the following order: x1 and x3 simultaneously, then, as both them are finished, x2. Indeed, the ordering information cannot be stored only in the dependency chain.

So, if "x2" is in the "wait" state, why is make considering "x3" ?

Christophe.




reply via email to

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