Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 22:24:46 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        current@freebsd.org
Subject:   Re: [TEST] make -j patch [take 2] 
Message-ID:  <13977.1100294686@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 12 Nov 2004 13:01:54 PST." <20041112210154.GA63387@ns1.xcllnt.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20041112210154.GA63387@ns1.xcllnt.net>, Marcel Moolenaar writes:

>He likes a feature so he can control his make universe in a certain
>way. He isn't forcing his policy upon anybody, just a way for him to
>do it his way for himself. Now, if his way was totally bogus then I
>see grounds for unilaterally denying his request. This I don't see.

By default the -j argument is passed down to submakes, consequently
if you make submakes respect -j, then you negate the token-pool
because each submake will create its own pool.  QED: You're back
to where we started where "make -j 12" generates 65 jobs.

>A mechanism to allow a submake to become the first in a new set is
>an elementary feature that allows us to implement the old behaviour,
>good or bad, and if nothing else is just a simple way to cover our
>asses.

And that mechanism exists: remove the env var, give -j arg.

What we're talking about is how/if this should be used in "make
universe".

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13977.1100294686>