Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2007 17:10:47 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        Benjamin Lutz <mail@maxlor.com>, ports@FreeBSD.org
Subject:   Re: parallel builds revisited
Message-ID:  <1176477047.66557.17.camel@pav.hide.vol.cz>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <pav@oook.cz>
              <pav@FreeBSD.org>

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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1176477047.66557.17.camel>