parallel builds revisited
pav at FreeBSD.org
Fri Apr 13 15:10:51 UTC 2007
Peter Pentchev píše v pá 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:
> > > 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.
> > I was thinking about having it embedded in every port's Makefile
> > directly, instead. Something like
> > USE_MAKE_JOBS= 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.
That was just an example. You can do
for autoscaling perfectly well. For details, see the patch I linked.
Pav Lucistnik <pav at oook.cz>
<pav at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070413/792a68ec/attachment.pgp
More information about the freebsd-ports