From owner-freebsd-ports@FreeBSD.ORG Fri Apr 13 15:10:51 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 9592416A402 for ; Fri, 13 Apr 2007 15:10:51 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from nat-application.b1.lan.prg.vol.cz (nat-application.b1.lan.prg.vol.cz [195.122.204.152]) by mx1.freebsd.org (Postfix) with ESMTP id 086FF13C480 for ; Fri, 13 Apr 2007 15:10:50 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from pav.hide.vol.cz (localhost [127.0.0.1]) by nat-application.b1.lan.prg.vol.cz (8.13.8/8.13.8) with ESMTP id l3DFAmvn070909; Fri, 13 Apr 2007 17:10:48 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by pav.hide.vol.cz (8.13.8/8.13.8/Submit) id l3DFAlEf070907; Fri, 13 Apr 2007 17:10:47 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: pav.hide.vol.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Peter Pentchev In-Reply-To: <20070413150619.GA15433@straylight.m.ringlet.net> References: <200704100452.40574.mail@maxlor.com> <1176227087.27233.8.camel@ikaros.oook.cz> <20070413150619.GA15433@straylight.m.ringlet.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-wxMkpq+0k8HI8vPNnGrj" Date: Fri, 13 Apr 2007 17:10:47 +0200 Message-Id: <1176477047.66557.17.camel@pav.hide.vol.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port 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 Reply-To: pav@FreeBSD.org 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:10:51 -0000 --=-wxMkpq+0k8HI8vPNnGrj Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Peter Pentchev p=ED=B9e v p=E1 13. 04. 2007 v 18:06 +0300: > 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 >=20 > Funny that this discussion should come up here at about the same time > as a very similar discussion on a Debian list :) >=20 > 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=3D yes for autoscaling perfectly well. For details, see the patch I linked. --=20 Pav Lucistnik But soft, what light through yonder window breaks? It is the East, and Juliet is the sun! Arise, fair sun, and kill the envious moon, who is already sick and pale with grief that thou her maid art far more fair than she. --=-wxMkpq+0k8HI8vPNnGrj Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGH51zntdYP8FOsoIRAmpkAKDD93wUfQdDHVuvgOpQ6jJo60VnsgCgwTJ9 w2kcDmvM20FsgQoDxU7lRYI= =g+BZ -----END PGP SIGNATURE----- --=-wxMkpq+0k8HI8vPNnGrj--