Date: Fri, 13 Apr 2007 18:06:19 +0300 From: Peter Pentchev <roam@ringlet.net> To: Pav Lucistnik <pav@FreeBSD.org> Cc: Benjamin Lutz <mail@maxlor.com>, ports@FreeBSD.org Subject: Re: parallel builds revisited Message-ID: <20070413150619.GA15433@straylight.m.ringlet.net> In-Reply-To: <1176227087.27233.8.camel@ikaros.oook.cz> References: <200704100452.40574.mail@maxlor.com> <1176227087.27233.8.camel@ikaros.oook.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070413150619.GA15433>