Date: Thu, 12 Apr 2007 05:43:46 +0200 From: Benjamin Lutz <mail@maxlor.com> To: pav@freebsd.org Cc: ports@freebsd.org Subject: Re: parallel builds revisited Message-ID: <200704120543.53063.mail@maxlor.com> 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
--nextPart1599973.IBftt9Jopf Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Pav, On Tuesday 10 April 2007 19:44, Pav Lucistnik wrote: > Benjamin Lutz p=C3=AD=C5=A1e v =C3=BAt 10. 04. 2007 v 04:52 +0200: > > Some time ago, after buying a Core 2 Duo system, I've become > > interested in doing something about the inherent > > single-threadedness of the ports. Even though I have a dualcore > > machine, ports builds only ever use one core. I started thinking > > about various approaches to introduce parallelism to ports builds > > and wrote down my thoughts here: > > http://marc.info/?l=3Dfreebsd-ports&m=3D116124997126657&w=3D2 > > I have same thoughts, and I wrote about it on Project Ideas page. > That text materialized into a Summer of Code proposal, which is most > probably going to get funded. So stay tuned. However, the proposal > concentrates mainly on allowing several ports to build in parallel. Is there any detailed information available on what's planned here that=20 isn't in your description on SoC page? > Yes, a whitelist approach looks best. > > > 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=3D 2 Yes, that's what I had in mind as a final goal too. Having a single file=20 whitelist is useful though, since you don't have to patch hundreds of=20 makefiles while the whole thing is being tested and developed. > I have great interest in this development. This is a highly desirable > feature to have. Me too. Could you keep me in the loop on how the SoC project progresses?=20 Seeing how that's concentrating on inter-port-parallelism, I think I'll=20 continue to work on intra-port-parallelism for a bit. Cheers Benjamin --nextPart1599973.IBftt9Jopf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGHar5zZEjpyKHuQwRAntDAJ9LuuLmf2HQeNX+kuOBi3WoK8aOFQCgi9B+ cTTZ3B6kjL5TSO+vJJAbil0= =G+pv -----END PGP SIGNATURE----- --nextPart1599973.IBftt9Jopf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704120543.53063.mail>