help-make
[Top][All Lists]
Advanced

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

Re: Improvement on parallel make


From: Christophe LYON
Subject: Re: Improvement on parallel make
Date: Mon, 11 Dec 2006 14:42:23 +0100
User-agent: Thunderbird 1.5 (X11/20051201)

Alexey Neyman wrote:
Cristophe,

On Monday 11 December 2006 15:50, Christophe LYON wrote:
I don't think so:
x2 will wait for x1 to complete, and x3 will wait for x2.

I applied it and tried it out:

address@hidden:~/work/make> cat mak
.PHONY: a b
a: x1 .WAIT x2
b: x2 .WAIT x3
x1 x2 x3:
        @echo start $@; sleep 1; echo finish $@
address@hidden:~/work/make> ./make/make -f mak -j a b
[...]
address@hidden:~/work/make> ./make/make -f mak -j b a
[...]

I see.
I knew this "feature"....

Indeed, when invoked with "b a", b is started first, and as x2 has no wait constraint yet, it starts immediately.

What would you expect? The same sequence in both cases?

Christophe.




reply via email to

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