Re: [gentoo-dev] [PATCH] multiprocessing.eclass: Improvements for wider use

2016-12-18 Thread Michał Górny
On Tue, 13 Dec 2016 10:36:13 +0100
Michał Górny  wrote:

> Hello,
> 
> Here's a short batch of improvements to multiprocessing.eclass.
> 
> Patch 1 fixes handling multiple short args, e.g. '-kj'.
> 
> Patch 2 adds get_nproc() (copied from scons-utils.eclass) that tries
> to portably determine the number of available CPUs.
> 
> Patch 3 adds the option to explicitly specify the replacement for
> unlimited jobs/loadvg in makeopts_*() functions.
> 
> 2+3 combined makes it possible to provide a safe replacement for
> unlimited '--jobs' for build systems that do not support limiting
> '--loadavg'.

Pushed now.

-- 
Best regards,
Michał Górny



pgpJTHJMGiWot.pgp
Description: OpenPGP digital signature


[gentoo-dev] [PATCH] multiprocessing.eclass: Improvements for wider use

2016-12-13 Thread Michał Górny
Hello,

Here's a short batch of improvements to multiprocessing.eclass.

Patch 1 fixes handling multiple short args, e.g. '-kj'.

Patch 2 adds get_nproc() (copied from scons-utils.eclass) that tries
to portably determine the number of available CPUs.

Patch 3 adds the option to explicitly specify the replacement for
unlimited jobs/loadvg in makeopts_*() functions.

2+3 combined makes it possible to provide a safe replacement for
unlimited '--jobs' for build systems that do not support limiting
'--loadavg'.

--
Best regards,
Michał Górny