From owner-freebsd-ports@FreeBSD.ORG Fri Apr 13 16:22:04 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0986816A400 for ; Fri, 13 Apr 2007 16:22:04 +0000 (UTC) (envelope-from yeti@physics.muni.cz) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4270413C465 for ; Fri, 13 Apr 2007 16:22:02 +0000 (UTC) (envelope-from yeti@physics.muni.cz) Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id l3DFhqJa026764; Fri, 13 Apr 2007 17:43:53 +0200 Received: by monoceros.physics.muni.cz (Postfix, from userid 16809) id 5A2B7C1AD64; Fri, 13 Apr 2007 17:43:52 +0200 (CEST) Date: Fri, 13 Apr 2007 17:43:54 +0200 From: David =?iso-8859-2?B?TmXoYXMgKFlldGkp?= To: ports@freebsd.org, Pav Lucistnik Message-ID: <20070413154354.GP27736@potato.chello.upc.cz> References: <200704100452.40574.mail@maxlor.com> <1176227087.27233.8.camel@ikaros.oook.cz> <20070413150619.GA15433@straylight.m.ringlet.net> <1176477047.66557.17.camel@pav.hide.vol.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1176477047.66557.17.camel@pav.hide.vol.cz> User-Agent: Mutt/1.4.2.2i X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: yeti@physics.muni.cz X-Muni-Envelope-To: ports@freebsd.org X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Fri, 13 Apr 2007 17:43:54 +0200 (CEST) Cc: Subject: Re: parallel builds revisited X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 16:22:04 -0000 On Fri, Apr 13, 2007 at 05:10:47PM +0200, Pav Lucistnik wrote: > Peter Pentchev píše v pá 13. 04. 2007 v 18:06 +0300: > > > > > > I was thinking about having it embedded in every port's Makefile > > > directly, instead. Something like > > > > > > USE_MAKE_JOBS= 2 > > > > IMHO, hardcoding the number of jobs in the port's Makefile would not > > be the best approach. I think a port should only flag whether it > > supports parallel building at all or not - and leave the number of jobs > > to either the ports framework or the administrator's choice. > > That was just an example. You can do > > USE_MAKE_JOBS= yes > > for autoscaling perfectly well. For details, see the patch I linked. The patch gives no reason for such hardcoding, it just implements it. How many ports exist that can fail with N+1 jobs yet cannot break with N jobs (for N > 1)? Yeti -- http://gwyddion.net/