1 |
On 01/17/2015 08:22 PM, Zac Medico wrote: |
2 |
> On 01/17/2015 02:45 AM, Michał Górny wrote: |
3 |
>> Default MAKEOPTS job number to (number of CPUs + 1) when it is not |
4 |
>> provided in the ebuild environment. |
5 |
>> |
6 |
>> Suggested-By: Daniel Robbins <drobbins@××××××.org> |
7 |
>> --- |
8 |
>> pym/portage/package/ebuild/doebuild.py | 8 +++++++- |
9 |
>> pym/portage/util/cpuinfo.py | 19 +++++++++++++++++++ |
10 |
>> 2 files changed, 26 insertions(+), 1 deletion(-) |
11 |
>> create mode 100644 pym/portage/util/cpuinfo.py |
12 |
> |
13 |
> LGTM. |
14 |
> |
15 |
|
16 |
Actually, Arfrever tells me that the multiprocessing module is not |
17 |
available if python is built without threading support. So, we need to |
18 |
handle the ImportError and either do nothing or parse /proc/cpuinfo or |
19 |
something like that. |
20 |
-- |
21 |
Thanks, |
22 |
Zac |