From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BDA9F138A1A for ; Sun, 18 Jan 2015 09:30:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E55F4E090B; Sun, 18 Jan 2015 09:30:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CAD4E0907 for ; Sun, 18 Jan 2015 09:30:17 +0000 (UTC) Received: from pomiot.lan (mgorny-1-pt.tunnel.tserv28.waw1.ipv6.he.net [IPv6:2001:470:70:353::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 7342C3406C1; Sun, 18 Jan 2015 09:30:14 +0000 (UTC) Date: Sun, 18 Jan 2015 10:30:03 +0100 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: Zac Medico Cc: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] Default MAKEOPTS to -j(ncpus+1) when unset Message-ID: <20150118103003.04c04f2a@pomiot.lan> In-Reply-To: <54BB3B0B.5020006@gentoo.org> References: <1421491535-32166-1-git-send-email-mgorny@gentoo.org> <54BB34F0.1030802@gentoo.org> <54BB3B0B.5020006@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/27EqUyhVj0t9wu70AJ.ChJZ"; protocol="application/pgp-signature" X-Archives-Salt: c474f540-d230-4f1c-8748-ce1100cfe110 X-Archives-Hash: d8d21e53a50dbce2639b8f337ba2c4dd --Sig_/27EqUyhVj0t9wu70AJ.ChJZ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dnia 2015-01-17, o godz. 20:48:11 Zac Medico napisa=C5=82(a): > On 01/17/2015 08:22 PM, Zac Medico wrote: > > On 01/17/2015 02:45 AM, Micha=C5=82 G=C3=B3rny wrote: > >> Default MAKEOPTS job number to (number of CPUs + 1) when it is not > >> provided in the ebuild environment. > >> > >> Suggested-By: Daniel Robbins > >> --- > >> pym/portage/package/ebuild/doebuild.py | 8 +++++++- > >> pym/portage/util/cpuinfo.py | 19 +++++++++++++++++++ > >> 2 files changed, 26 insertions(+), 1 deletion(-) > >> create mode 100644 pym/portage/util/cpuinfo.py > >=20 > > LGTM. > >=20 >=20 > Actually, Arfrever tells me that the multiprocessing module is not > available if python is built without threading support. So, we need to > handle the ImportError and either do nothing or parse /proc/cpuinfo or > something like that. I don't think there's a point in having more complexity for a use case that doesn't really get used. Except maybe for the few 'USE=3D-*' people who aren't cautious enough but they're going to be hit by some failure sooner or later. I'm going to remove the flag on the Python end after verifying the USE-deps. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/27EqUyhVj0t9wu70AJ.ChJZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUu30eXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOAgEQAMIL8yvWoy/5PGqoW8xeqng8 idrhpHpdT6W5Jy+/XGDvyOOOuQ1h0s9PiwLIPDV8FGGuRqNDrQ1k3SEaIcly7A+0 NNYSw8bkBq77iR7gRzlGYKTTCx81pjwZtuN08ctoW8uRyvE0nYBhaqZ8yjO2NmoZ ZFJKOoPuKnQGLmD6F2/cc7lG/hJQh2oP/Rw4WzJ7A69o+mqTE8xppWEVEoSUeeNk Fsb9NRMDNLDjkCeC+CsOq4uSxSf7Ivp8fD0hX9HMYYQToDoHwqVgIN+eANW6hWeo ZHTobfn3fUll+zcFzjnS1OTuotnnPebCO+A5L52iQVt9DYKtmmf+i6Oqpk2X29nD CjwuGK8MA919WUncws/CKNgHVAcJHgmbyNJlcmxSecGasqAaii6X8utz6+MtEULv kja5HSwtu4Mk9iXD+xkVeXrpBiJV9ol3QPr1qA2UJXKddUiUOdDwf+Vt8HhYXwCE pMdrsDhiAbohaxV4EWpViQHDK/YT5gdAl+K936byHH0+NCrDVKG4z8Pe1S0bsukA qUOTHUY4OxJLmiHl15ulNbyjCObebmhcFllZAzLlNIKNP+9DPOKKGvlP8eK/gTKz 6KSNDleb+0GcUFUTG9fXIscN86QmrsubLMXPL/FhQtw+gV+JnvOnkP1ILil/x5/9 u/UY9SkSuWn5l7W8nRWR =F3he -----END PGP SIGNATURE----- --Sig_/27EqUyhVj0t9wu70AJ.ChJZ--