[TEST] make -j patch

M. Warner Losh imp at bsdimp.com
Tue Nov 16 15:27:08 PST 2004


In message: <419A654D.6060200 at freebsd.org>
            Scott Long <scottl at freebsd.org> writes:
: Doug White wrote:
: > On Thu, 11 Nov 2004, Poul-Henning Kamp wrote:
: > 
: > 
: >>This patch makes the '-j' argument to make(1) become a global limit
: >>on number of jobs launched for all submakes in the build.
: >>
: >>Today a "make -j 12" may start many more than 12 jobs because each
: >>submake interprets the 12 without reference to other makes.
: > 
: > 
: > Ah, this is the thing I've noticed with the rescue build where it create
: > -j^2 jobs. :)
: > 
: 
: And people like Warner thought I was a raving lunatic when I reported
: this a year ago.  Oh wait, they think I'm a raving lunatic anyways.  But
: at least I'm vindicated on this one =-)

I thought you were crazy when you said that there were duplicated jobs
being created.  I've know that I've seen j^depth behavior for a long
time...

Warner


More information about the freebsd-current mailing list