bug-make
[Top][All Lists]
Advanced

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

Re: parallelism: job slots vs. levels


From: Howard Chu
Subject: Re: parallelism: job slots vs. levels
Date: Tue, 31 Aug 2004 22:49:20 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040714

Dan Jacobson wrote:

Anyways,
$ make x& make y& wait
cannot always be rewritten with -j.
$ make -j[whatever number] x y
will act differently except for special cases of x and y;
probably when both x and y have no dependencies.

  make x& make y& wait

will only work correctly if x and y have no dependencies in common. Otherwise, the two separate make's will get in each other's way when they work on whatever is in common. This fact has nothing to do with parallel make or "make -j".

Anyways, with -j examples added to the manual, we would get on the
right track about how to use -j.

Since your two examples have nothing to do with each other, I don't see how you can reach this conclusion.
--
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support




reply via email to

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