Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 14:37:41 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        babkin@users.sf.net
Cc:        Wesley Shields <wxs@csh.rit.edu>, freebsd-hackers@freebsd.org, Ashok Shrestha <ashok.shrestha@gmail.com>, Brandon Flowers <flowersster@gmail.com>, Mike Meyer <mwm@mired.org>, Gary Thorpe <gthorpe@myrealbox.com>, Kris Kennaway <kris@obsecurity.org>, Dag-Erling Sm?rgrav <des@des.no>
Subject:   Re: Re: speed up port compiling using RAM (tmpfs) ???
Message-ID:  <20060120193741.GC39932@xor.obsecurity.org>
In-Reply-To: <2209162.1137777933811.JavaMail.root@vms075.mailsrvcs.net>
References:  <2209162.1137777933811.JavaMail.root@vms075.mailsrvcs.net>

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

--hOcCNbCCxyk/YU74
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 20, 2006 at 11:25:33AM -0600, Sergey Babkin wrote:
> >From: =3D?ISO646-US?Q?Dag-Erling_Sm=3D3Frgrav?=3D <des@des.no>
>=20
> >Gary Thorpe <gthorpe@myrealbox.com> writes:
> >> This effectively means that you cannot take advantage of SMP to
> >> compile FreeBSD's ports collection. That sounds like a big
> >> limitation...especially for people trying to speed up bulk builds.
> >
> >We cannot be held responsible for race conditions in the Makefiles of
> >third-party software.
>=20
> Well, maybe we can then build multiple ports in parallel.
> I guess the way to do it would be to run the top-level make with
> -j but then disable it when calling the makefiles of the
> individual ports. Not that I have any idea how to actually
> do that.

It's harder than that, because you need to impose dependency
information and mutual exclusion between different makes.  e.g. they
can't both be compiling the same port at the same time, which will
happen if you just do the naive thing.

Kris


--hOcCNbCCxyk/YU74
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD0TwEWry0BWjoQKURAmYdAKDDlVkBMNvQxUjhwe/x6tjUqrYRcwCbB3J8
Ia5oOIBCmSH/4VFyiQJMe6E=
=xRyl
-----END PGP SIGNATURE-----

--hOcCNbCCxyk/YU74--



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