Re: [gentoo-dev] [PATCH 3/3] multiprocessing.eclass: Support passing custom inf values for getters

2016-12-14 Thread Michał Górny
On Wed, 14 Dec 2016 15:30:06 +0300 Andrew Savchenko wrote: > On Tue, 13 Dec 2016 10:36:16 +0100 Michał Górny wrote: > > Support passing custom values for 'infinity' in makeopts_jobs() > > and makeopts_loadavg(). This can be used e.g. when a build system does > > not support

Re: [gentoo-dev] [PATCH 3/3] multiprocessing.eclass: Support passing custom inf values for getters

2016-12-14 Thread Andrew Savchenko
On Tue, 13 Dec 2016 10:36:16 +0100 Michał Górny wrote: > Support passing custom values for 'infinity' in makeopts_jobs() > and makeopts_loadavg(). This can be used e.g. when a build system does > not support --loadavg, and therefore '--jobs 999' would most likely > be a really bad idea. Combined

[gentoo-dev] [PATCH 3/3] multiprocessing.eclass: Support passing custom inf values for getters

2016-12-13 Thread Michał Górny
Support passing custom values for 'infinity' in makeopts_jobs() and makeopts_loadavg(). This can be used e.g. when a build system does not support --loadavg, and therefore '--jobs 999' would most likely be a really bad idea. Combined with get_nproc(), this can be used to provide a sane replacement