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
In Reply to: Re: [gentoo-dev] multiprocessing.eclass: doing parallel work in bash by Mike Frysinger
Mike Frysinger wrote:
> On Saturday 02 June 2012 00:11:19 Brian Harring wrote: >> On Fri, Jun 01, 2012 at 06:41:22PM -0400, Mike Frysinger wrote: >>> makeopts_jobs() { >> >> This function belongs in eutils, or somewhere similar- pretty sure >> we've got variants of this in multiple spots. I'd prefer a single >> point to change if/when we add a way to pass parallelism down into the >> env via EAPI.
We do have variants at several places in ebuild/eclass (scons-utils, waf...). And some failed at some point, see [1].
> it's already in eutils. but i'm moving it out of that and into this since it > makes more sense in this eclass imo, and avoids this eclass from inheriting > eutils.
Neat. Thanks for having added it. Lot of build related eclass would need it, if we want to factorize that code. We'll have to give maintainers incentive for migrating their code :-) [1] -- Fulax Gentoo Lisp Contributor


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