From owner-freebsd-ports@FreeBSD.ORG Fri Apr 13 15:06:21 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 F24B616A403 for ; Fri, 13 Apr 2007 15:06:21 +0000 (UTC) (envelope-from roam@ringlet.net) Received: from straylight.ringlet.net (nat116.cnsys.bg [85.95.80.116]) by mx1.freebsd.org (Postfix) with SMTP id 48F4C13C4C1 for ; Fri, 13 Apr 2007 15:06:20 +0000 (UTC) (envelope-from roam@ringlet.net) Received: (qmail 95428 invoked by uid 1000); 13 Apr 2007 15:06:19 -0000 Date: Fri, 13 Apr 2007 18:06:19 +0300 From: Peter Pentchev To: Pav Lucistnik Message-ID: <20070413150619.GA15433@straylight.m.ringlet.net> Mail-Followup-To: Pav Lucistnik , Benjamin Lutz , ports@FreeBSD.org References: <200704100452.40574.mail@maxlor.com> <1176227087.27233.8.camel@ikaros.oook.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <1176227087.27233.8.camel@ikaros.oook.cz> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Benjamin Lutz , ports@FreeBSD.org 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 15:06:22 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 10, 2007 at 07:44:47PM +0200, Pav Lucistnik wrote: > Benjamin Lutz p??e v ?t 10. 04. 2007 v 04:52 +0200: [snip] > > 3) Save this to /usr/local/etc/parallel_builds.conf: > > http://www.maxlor.com/temp/parallel_builds.conf . > > This is a list of ports as stored in PKGORIGIN, or as > > pkg_info -o reports them. >=20 > I was thinking about having it embedded in every port's Makefile > directly, instead. Something like >=20 > USE_MAKE_JOBS=3D 2 Funny that this discussion should come up here at about the same time as a very similar discussion on a Debian list :) 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. The ports framework may pick a value - ncpus, or ncpus+1, or ncpus*2, or something like that - but, again IMHO, the administrator ought to be able to override it in any case. Other than that, it's great that y'all are actually doing something about supporting parallel builds! :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence every third, but it still comprehensible. --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGH5xr7Ri2jRYZRVMRAuSRAJsE/v9ejSjlySu1Z/4974UN+5AmIQCaAkAr o8ETzCFxde2aR0cuClMTapw= =NMdm -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--