Gentoo Archives: gentoo-portage-dev

From: Tim Harder <radhermit@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>, "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] Default MAKEOPTS to -j(ncpus+1) when unset
Date: Sun, 18 Jan 2015 05:10:26
Message-Id: 20150118051020.GA15771@oregano.home.lan
In Reply to: Re: [gentoo-portage-dev] [PATCH] Default MAKEOPTS to -j(ncpus+1) when unset by Zac Medico
1 On 2015-01-17 23:48, Zac Medico wrote:
2 > Actually, Arfrever tells me that the multiprocessing module is not
3 > available if python is built without threading support. So, we need to
4 > handle the ImportError and either do nothing or parse /proc/cpuinfo or
5 > something like that.
6
7 Feel free to borrow/steal/copy the relevant methods from
8 snakeoil.process since we parse /proc/cpuinfo there probably how you
9 want. Patches/pull reqs welcome if you have improvements.
10
11 Thanks,
12 Tim