From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DATE_IN_PAST_12_24, INVALID_DATE,MAILING_LIST_MULTI,NO_RELAYS autolearn=no autolearn_force=no version=4.0.0 Received: from drobbins by cvs.gentoo.org with local (Exim 3.30 #1) id 15XpTi-0001Lp-00 for gentoo-dev@cvs.gentoo.org; Fri, 17 Aug 2001 13:40:22 -0600 From: Daniel Robbins To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] emake question Message-ID: <20010817134022.A4373@cvs.gentoo.org> References: <20010817150925.B20226@zk3.dec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010817150925.B20226@zk3.dec.com>; from aron.griffis@compaq.com on Fri, Aug 17, 2001 at 03:09:25PM -0400 Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Fri Aug 17 13:41:02 2001 X-Original-Date: Fri, 17 Aug 2001 13:40:22 -0600 X-Archives-Salt: 0740ee24-99bd-43b3-81af-e3499776cab9 X-Archives-Hash: 10781143a5edf08662a32c3e0ea98b95 On Fri, Aug 17, 2001 at 03:09:25PM -0400, Aron Griffis wrote: > Hello, > > I'm looking at emake, trying to understand what is being accomplished. > It seems useless to me, though I'll be quite happy if told that I'm > wrong. > > (1) It claims to "auto-parallel make without the annoying syntax". But > it does nothing to parallelize the make process that I can see. > > (2) It uses env, which does nothing in this case. > > (3) It uses a variable MAKEOPTS to pass options along to sub-makes. > Isn't that redundant to GNU make's built in MAKEFLAGS (which are set > and passed to sub-makes automatically)? By default, MAKEOPTS is defined at "-j 2", so emake does auto parallelize makes. The reason for emake is that some packages build in parallel, and some don't. Those that do build in parallel should use emake in order to build faster, and those that don't should have a little "doesn't work with emake" comment and just use plan make instead. Best Regards, -- Daniel Robbins Chief Architect/President http://www.gentoo.org Gentoo Technologies, Inc.