Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: Gentoo Python Project <python@g.o>
Subject: Re: [gentoo-dev] [PATCH] distutils-r1.eclass: Enable parallel builds in py3.5+
Date: Tue, 17 Jul 2018 14:48:51
Message-Id: 1531838919.18422.0.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] distutils-r1.eclass: Enable parallel builds in py3.5+ by Mike Gilbert
1 W dniu wto, 17.07.2018 o godzinie 10∶40 -0400, użytkownik Mike Gilbert
2 napisał:
3 > On Tue, Jul 17, 2018 at 4:41 AM, Michał Górny <mgorny@g.o> wrote:
4 > > Python 3.5+ introduces parallel build support in distutils. Take
5 > > advantage of that by passing appropriate -j option. Since distutils
6 > > does not support an equivalent of --load-average, default to the number
7 > > of CPUs+1 when unspecified.
8 >
9 > How do we disable this in individual ebuilds when we inevitably run
10 > into problematic packages?
11
12 My guess would be, same as emake:
13
14 distutils-r1_python_compile -j1
15
16 (I haven't tested it though)
17
18 --
19 Best regards,
20 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies