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 1GNWgD-0006g1-KZ for garchives@archives.gentoo.org; Wed, 13 Sep 2006 15:29:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8DFT4C7031977; Wed, 13 Sep 2006 15:29:04 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8DFQoBB019606 for ; Wed, 13 Sep 2006 15:26:50 GMT Received: from liasis.inforead.com (unknown [216.200.97.58]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 89C20647A9 for ; Wed, 13 Sep 2006 15:26:49 +0000 (UTC) Subject: Re: [gentoo-dev] using -j1 with distcc? From: Ferris McCormick To: gentoo-dev@lists.gentoo.org In-Reply-To: <20060913145216.GA4779@seldon> References: <20060913143451.GC25497@gentoo.org> <20060913145216.GA4779@seldon> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hHsIYHeWsk4QFIgQv3/y" Date: Wed, 13 Sep 2006 15:26:48 +0000 Message-Id: <1158161208.12404.210.camel@liasis.inforead.com> 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 X-Mailer: Evolution 2.6.2 X-Archives-Salt: 5795e4f6-0cb1-42f8-b7f3-bd6313b418d7 X-Archives-Hash: 2c6eb4483a2b7d36a178672c73d77f7a --=-hHsIYHeWsk4QFIgQv3/y Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2006-09-13 at 07:52 -0700, Brian Harring wrote: > 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"). >=20 > Similar trickery in app-office/openoffice, although they enable -jN if=20 > distcc is enabled, else -j1 ... >=20 > Always wondered how that was valid, just avoid OO compiles enough it=20 > wasn't something I ever got around to looking into :) > ~harring I don't see how it can be valid, especially ferringb's example. Enabling distcc doesn't mean the build will distribute; only that the possibility is there. If you happen to build when the other system(s) is(are) unavailable for some reason, you get everything on the host, so for ferringb, e.g., this would mean -jN on one system. As for Aron's case, I agree with him. Regards, Ferris --=20 Ferris McCormick (P44646, MI) Developer, Gentoo Linux (Devrel, Sparc) --=-hHsIYHeWsk4QFIgQv3/y Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux) iD8DBQBFCCM4Qa6M3+I///cRAicgAKDV/5646ZJvUKU1SB6iAlc3TdqNVgCg02Re wgN/wgaezQ+PqQ/wWlZM6YE= =1nlm -----END PGP SIGNATURE----- --=-hHsIYHeWsk4QFIgQv3/y-- -- gentoo-dev@gentoo.org mailing list