From owner-freebsd-current@FreeBSD.ORG Fri Nov 12 21:24:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D69816A4CE; Fri, 12 Nov 2004 21:24:48 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF79343D41; Fri, 12 Nov 2004 21:24:47 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id iACLOkwN013978; Fri, 12 Nov 2004 22:24:46 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Marcel Moolenaar From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 12 Nov 2004 13:01:54 PST." <20041112210154.GA63387@ns1.xcllnt.net> Date: Fri, 12 Nov 2004 22:24:46 +0100 Message-ID: <13977.1100294686@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: Harti Brandt cc: current@freebsd.org Subject: Re: [TEST] make -j patch [take 2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 21:24:48 -0000 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.