[Top][All Lists]

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

Re: '--jobs' flag and dependencies

From: Paul Smith
Subject: Re: '--jobs' flag and dependencies
Date: Mon, 17 Sep 2007 09:16:26 -0400

On Mon, 2007-09-17 at 11:09 +0200, Frank Schaefer wrote:
> The problem is that 'make' seems to start building a target as soon as
> the dependency has been  started to be built

This is not how make works... or at least not how it should work.  If
you can provide a reproducible test case, then that would be a bug.

There are thousands of people using make with -j (some with VERY large
values, on things like 64-way SPARC systems etc.) every day (most Linux
kernel builds use it, for example, as well as most Gnome builds, etc.)
and I haven't seen a bug like this reported.

When reporting problems or asking questions please ALWAYS remember to
specify which version of the software (in this case GNU make) you're
using, and what operating system you're running it on.  That can make a
huge difference.  Small, reproducible test cases are always welcome.

There have been some bugs with the jobserver code in some versions of
make, so please be sure you can reproduce it with the latest released
version (currently GNU make 3.81).

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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