Gentoo Archives: gentoo-dev

From: Cyprien Nicolas <c.nicolas@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] multiprocessing.eclass: doing parallel work in bash
Date: Sat, 02 Jun 2012 09:24:28
Message-Id: 4FC9DB75.4020105@gmail.com
In Reply to: Re: [gentoo-dev] multiprocessing.eclass: doing parallel work in bash by Mike Frysinger
1 Mike Frysinger wrote:
2 > On Saturday 02 June 2012 00:11:19 Brian Harring wrote:
3 >> On Fri, Jun 01, 2012 at 06:41:22PM -0400, Mike Frysinger wrote:
4 >>> makeopts_jobs() {
5 >>
6 >> This function belongs in eutils, or somewhere similar- pretty sure
7 >> we've got variants of this in multiple spots. I'd prefer a single
8 >> point to change if/when we add a way to pass parallelism down into the
9 >> env via EAPI.
10
11 We do have variants at several places in ebuild/eclass (scons-utils,
12 waf...). And some failed at some point, see [1].
13
14 > it's already in eutils. but i'm moving it out of that and into this since it
15 > makes more sense in this eclass imo, and avoids this eclass from inheriting
16 > eutils.
17
18 Neat. Thanks for having added it. Lot of build related eclass would need
19 it, if we want to factorize that code.
20
21 We'll have to give maintainers incentive for migrating their code :-)
22
23 [1] https://bugs.gentoo.org/show_bug.cgi?id=337831
24
25 --
26 Fulax
27 Gentoo Lisp Contributor

Attachments

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