From: "Michał Górny" <mgorny@gentoo.org>
To: Zac Medico <zmedico@gentoo.org>
Cc: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] [PATCH] Default MAKEOPTS to -j(ncpus+1) when unset
Date: Sun, 18 Jan 2015 10:30:03 +0100 [thread overview]
Message-ID: <20150118103003.04c04f2a@pomiot.lan> (raw)
In-Reply-To: <54BB3B0B.5020006@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]
Dnia 2015-01-17, o godz. 20:48:11
Zac Medico <zmedico@gentoo.org> napisał(a):
> On 01/17/2015 08:22 PM, Zac Medico wrote:
> > On 01/17/2015 02:45 AM, Michał Górny wrote:
> >> Default MAKEOPTS job number to (number of CPUs + 1) when it is not
> >> provided in the ebuild environment.
> >>
> >> Suggested-By: Daniel Robbins <drobbins@funtoo.org>
> >> ---
> >> pym/portage/package/ebuild/doebuild.py | 8 +++++++-
> >> pym/portage/util/cpuinfo.py | 19 +++++++++++++++++++
> >> 2 files changed, 26 insertions(+), 1 deletion(-)
> >> create mode 100644 pym/portage/util/cpuinfo.py
> >
> > LGTM.
> >
>
> Actually, Arfrever tells me that the multiprocessing module is not
> available if python is built without threading support. So, we need to
> handle the ImportError and either do nothing or parse /proc/cpuinfo or
> something like that.
I don't think there's a point in having more complexity for a use case
that doesn't really get used. Except maybe for the few 'USE=-*' people
who aren't cautious enough but they're going to be hit by some failure
sooner or later.
I'm going to remove the flag on the Python end after verifying
the USE-deps.
--
Best regards,
Michał Górny
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]
next prev parent reply other threads:[~2015-01-18 9:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-17 10:45 [gentoo-portage-dev] [PATCH] Default MAKEOPTS to -j(ncpus+1) when unset Michał Górny
2015-01-18 4:22 ` Zac Medico
2015-01-18 4:48 ` Zac Medico
2015-01-18 5:10 ` Tim Harder
2015-01-18 9:30 ` Michał Górny [this message]
2015-01-18 10:38 ` [gentoo-portage-dev] [PATCH v2] " Michał Górny
2015-01-18 16:58 ` Brian Dolbec
2015-01-29 3:06 ` Rick "Zero_Chaos" Farina
2015-01-30 7:05 ` Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150118103003.04c04f2a@pomiot.lan \
--to=mgorny@gentoo.org \
--cc=gentoo-portage-dev@lists.gentoo.org \
--cc=zmedico@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox