Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Cyprien Nicolas <c.nicolas@...>
Subject: Re: multiprocessing.eclass: doing parallel work in bash
Date: Sat, 02 Jun 2012 11:23:01 +0200
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] https://bugs.gentoo.org/show_bug.cgi?id=337831

-- 
Fulax
Gentoo Lisp Contributor

Attachment:
signature.asc (OpenPGP digital signature)
References:
multiprocessing.eclass: doing parallel work in bash
-- Mike Frysinger
Re: multiprocessing.eclass: doing parallel work in bash
-- Brian Harring
Re: multiprocessing.eclass: doing parallel work in bash
-- Mike Frysinger
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: multiprocessing.eclass: doing parallel work in bash
Next by thread:
Re: multiprocessing.eclass: doing parallel work in bash
Previous by date:
Re: multiprocessing.eclass: doing parallel work in bash
Next by date:
Re: multiprocessing.eclass: doing parallel work in bash


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.