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: Mon, 11 Dec 2006 16:36:34 +0300
User-agent: KMail/1.6.2

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
start x1
finish x1
start x2
finish x2
start x3
finish x3
address@hidden:~/work/make> ./make/make -f mak -j b a
start x2
start x1
finish x2
finish x1
start x3
finish x3

Regards,
Alexey.


-- 
Please do not try to stop us this time. We are firm in our resolve.
                        -- Pkunks, SC2




reply via email to

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