Re: [TEST] make -j patch [take 2]

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Fri, 12 Nov 2004 22:24:46 +0100
In message <20041112210154.GA63387_at_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_at_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.
Received on Fri Nov 12 2004 - 20:24:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC