From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB9B8138334 for ; Tue, 17 Jul 2018 14:48:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 865E7E0A68; Tue, 17 Jul 2018 14:48:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09D3DE09F4 for ; Tue, 17 Jul 2018 14:48:46 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (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 E5067335C07; Tue, 17 Jul 2018 14:48:43 +0000 (UTC) Message-ID: <1531838919.18422.0.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH] distutils-r1.eclass: Enable parallel builds in py3.5+ From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: Gentoo Python Project Date: Tue, 17 Jul 2018 16:48:39 +0200 In-Reply-To: References: <20180717084134.8362-1-mgorny@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-nlooZLWzSx6ROMlqqA+p" X-Mailer: Evolution 3.24.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: 63b5b2ee-8f4e-4c41-9e6b-eee133a14301 X-Archives-Hash: cc97436a6e12def68951572166880996 --=-nlooZLWzSx6ROMlqqA+p Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable W dniu wto, 17.07.2018 o godzinie 10=E2=88=B640=E2=80=89-0400, u=C5=BCytkow= nik Mike Gilbert napisa=C5=82: > On Tue, Jul 17, 2018 at 4:41 AM, Micha=C5=82 G=C3=B3rny wrote: > > Python 3.5+ introduces parallel build support in distutils. Take > > advantage of that by passing appropriate -j option. Since distutils > > does not support an equivalent of --load-average, default to the number > > of CPUs+1 when unspecified. >=20 > How do we disable this in individual ebuilds when we inevitably run > into problematic packages? My guess would be, same as emake: distutils-r1_python_compile -j1 (I haven't tested it though) --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-nlooZLWzSx6ROMlqqA+p Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEbbsHzE8NrQbqCv5BsHoa6u+0Rk4FAltOAchfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDZE QkIwN0NDNEYwREFEMDZFQTBBRkU0MUIwN0ExQUVBRUZCNDQ2NEUACgkQsHoa6u+0 Rk5bRw/8DSKh9+3mfmilE4kYS7zIWJ2uMVWSWQTd8nQc7jvU1nhfZP9KUsJz4vSE ko1hlHPFOoCrwG8J8oTXPZIsFqt98D2Xeo9ihHiUG7+iuV1ipLdVJIglvqfT6U4i 8Bfmmjcpo5brAOIITLDoU3LbiHeaxqERRflVLwT+ejOi2LzUqiE1w9jHnkvxVwT1 hfD+r0aLqPJ0uGzQfWWOPi2btG+cJTczY/IcNDaSoBGkA00wLdHPavij8JxP7FWb XKvb97teRXDbBiGlZ5vHAvRgw5c440xdzqS7/p6Njl21x5dOq2di4YNTXj8/S+LQ H1m8BOOot6YVr1KNhjaynzi/1doVA4j7o4oWu4CWQAxOL4MhG69mmJXrxgl2n5gT U66pwDka3FQ4/GTPuggjPRcIpWX/pKEDfWxX8vXB+xWoUb+dLOH9FfNqfv6k3hTe i+IOeixo1Ylw2x3O8bOIOiwY/ZYJMFgguNzOuZFBWrEzfYEpXFaOCkREyR+LHy/h bjjLN9IcAhS8X7YDoodOWi3SsJtX/62KepGpVxLq3wBdkuldhB6jETJDygkOUNy1 NCb+Ol5KvofIuDP8Ufkrok/2bSVw/bSoF+qeiGUiSTRc8ipvwF7iFAtSKmwW2rA3 1UkFJuAq3c5a5l8nYq5DdGSQ8PXBNjtQbRXnCuuSHRlBoKwihx8= =wemt -----END PGP SIGNATURE----- --=-nlooZLWzSx6ROMlqqA+p--