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 8B693138A1A for ; Sun, 18 Jan 2015 05:10:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D6E4E0845; Sun, 18 Jan 2015 05:10:23 +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 06D85E0843 for ; Sun, 18 Jan 2015 05:10:23 +0000 (UTC) Received: by smtp.gentoo.org (Postfix, from userid 2274) id 1A0D034070C; Sun, 18 Jan 2015 05:10:22 +0000 (UTC) Date: Sun, 18 Jan 2015 00:10:20 -0500 From: Tim Harder To: gentoo-portage-dev@lists.gentoo.org Cc: Zac Medico , =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= Subject: Re: [gentoo-portage-dev] [PATCH] Default MAKEOPTS to -j(ncpus+1) when unset Message-ID: <20150118051020.GA15771@oregano.home.lan> Mail-Followup-To: gentoo-portage-dev@lists.gentoo.org, Zac Medico , =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= References: <1421491535-32166-1-git-send-email-mgorny@gentoo.org> <54BB34F0.1030802@gentoo.org> <54BB3B0B.5020006@gentoo.org> 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; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <54BB3B0B.5020006@gentoo.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Archives-Salt: 91b3f16e-c325-43dd-9d12-ec83876abdae X-Archives-Hash: 9bca0900fe6c29985a953236cb050e68 --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On 2015-01-17 23:48, Zac Medico wrote: > 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. Feel free to borrow/steal/copy the relevant methods from snakeoil.process since we parse /proc/cpuinfo there probably how you want. Patches/pull reqs welcome if you have improvements. Thanks, Tim --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCgAGBQJUu0A8AAoJEEqz6FtPBkyjCBMH/1Jr9Rb+D+LGesqMwUgsTi/l hGrDu/1rcEvF5bBSVCbzQ9lyVXYSYFeH2ewYAShB5zrXKjqIm7zsYxD20XHiL+Pe MYo/d9km6/MOzziS3yr358Eq0mIUG5xxImRj0Rs+LNZh92uA+D42MdM1RjhU920R pZqn84U8z4zn1JOYB2nEbavzGGdxxh9TjL+UVgXf+zKrMgGojb/Ba6ZrZoPCM71p /MQARwaqkCsJaUwkUOitiRNvqkuzS9ml5IOb9U7DETYqmRHAn6IDAHZM25n8Qtpt zywI/eRTbO8KCRr9hxQQgM0kh4e4fbyUBk6qiz21jKd1+1udJC1YDFsO3Q/nsdc= =kdSi -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--