From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GNW9t-0001EO-MP for garchives@archives.gentoo.org; Wed, 13 Sep 2006 14:56:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8DEtJe2010597; Wed, 13 Sep 2006 14:55:19 GMT Received: from alnrmhc12.comcast.net (alnrmhc12.comcast.net [206.18.177.52]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8DEqJiT014398 for ; Wed, 13 Sep 2006 14:52:19 GMT Received: from seldon (c-24-21-135-117.hsd1.or.comcast.net[24.21.135.117]) by comcast.net (alnrmhc12) with SMTP id <20060913145218b1200o6eh4e>; Wed, 13 Sep 2006 14:52:18 +0000 Date: Wed, 13 Sep 2006 07:52:17 -0700 From: Brian Harring To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] using -j1 with distcc? Message-ID: <20060913145216.GA4779@seldon> References: <20060913143451.GC25497@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <20060913143451.GC25497@gentoo.org> User-Agent: Mutt/1.5.11 X-Archives-Salt: 09b4373a-9ebf-4369-8e0b-d046632356b5 X-Archives-Hash: 00044fcb363b9c290daaea39dcd210d6 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 13, 2006 at 10:34:52AM -0400, Aron Griffis wrote: > From bind-9.3.2-r4.ebuild: >=20 > # idea from dev-libs/cyrus-sasl > if has distcc ${FEATURES}; then > einfo "You have \"distcc\" enabled" > einfo "build with MAKEOPTS=3D\"-j1\"" > jobs=3D"-j1" > else > einfo "build with MAKEOPTS=3D${MAKEOPTS}" > jobs=3D"" > fi >=20 > emake ${jobs} || die "failed to compile bind" >=20 > I think this is bogus. If building with distcc reveals a parallel > build issue, then the issue exists with or without distcc, it just > seems to happen less often without it. We've been down this road > before, maybe people have forgotten? >=20 > bind-9.3.2-r4.ebuild failed to build for me on dual ia64. Building > with -j1 works. >=20 > Unless somebody can explain how this is valid, I'll go ahead and fix > the bind ebuilds (where "fix" means "use -j1 unconditionally since the > Makefiles aren't parallel safe"). Similar trickery in app-office/openoffice, although they enable -jN if=20 distcc is enabled, else -j1 ... Always wondered how that was valid, just avoid OO compiles enough it=20 wasn't something I ever got around to looking into :) ~harring --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFFCBsgvdBxRoA3VU0RAs2LAJ9ExekOHnbLGENMhN//P3zXDJ5B5QCeLQ1k NJ0lDN8q28sm0iH8+KifXbg= =Rfwe -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- -- gentoo-dev@gentoo.org mailing list