From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 03:44:19 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 8143816A401; Thu, 12 Apr 2007 03:44:19 +0000 (UTC) (envelope-from mail@maxlor.com) Received: from popeye1.ggamaur.net (popeye1.ggamaur.net [213.160.40.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1823313C457; Thu, 12 Apr 2007 03:44:18 +0000 (UTC) (envelope-from mail@maxlor.com) Received: from maxlor.mine.nu (maxlor@c-82-192-240-247.customer.ggaweb.ch [82.192.240.247]) by popeye1.ggamaur.net (8.13.7/8.13.7/Submit) with ESMTP id l3C3iF1m061926; Thu, 12 Apr 2007 05:44:16 +0200 (CEST) (envelope-from mail@maxlor.com) Received: from localhost (unknown [127.0.0.1]) by maxlor.mine.nu (Postfix) with ESMTP id 98E5D2E1C6; Thu, 12 Apr 2007 05:44:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at atlantis.intranet Received: from maxlor.mine.nu ([127.0.0.1]) by localhost (atlantis.intranet [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q3PYxhf5TUDS; Thu, 12 Apr 2007 05:43:54 +0200 (CEST) Received: from mini.intranet (mini.intranet [10.0.0.17]) by maxlor.mine.nu (Postfix) with ESMTP id 4BC1E2E1C8; Thu, 12 Apr 2007 05:43:54 +0200 (CEST) From: Benjamin Lutz To: pav@freebsd.org Date: Thu, 12 Apr 2007 05:43:46 +0200 User-Agent: KMail/1.9.5 References: <200704100452.40574.mail@maxlor.com> <1176227087.27233.8.camel@ikaros.oook.cz> In-Reply-To: <1176227087.27233.8.camel@ikaros.oook.cz> X-Face: $Ov27?7*N,h60fIEfNJdb!m,@#4T/d; 1hw|W0zvsHM(a$Yn6BYQ0^SEEXvi8>D`|V*F"=?utf-8?q?=5F+=0A=09R2?=@Aq>+mNb4`,'[[%z9v0Fa~]AD1}xQO3|>b.z&}l#R-_(P`?@Mz"kS; XC>Eti,i3>%@=?utf-8?q?g=3F=0A=094f?=,\c7|Ghwb&ky$b2PJ^\0b83NkLsFKv|smL/cI4UD%Tu8alAD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1599973.IBftt9Jopf"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200704120543.53063.mail@maxlor.com> X-Scanned-By: MIMEDefang 2.61 on 213.160.40.60 Cc: ports@freebsd.org Subject: Re: parallel builds revisited X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 03:44:19 -0000 --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--