diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-12-13 10:31:12 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-12-18 14:46:46 +0100 |
commit | 83e052c75fcfff084d1cd98ddb914c63926ece64 (patch) | |
tree | 6eeeea7da2417d0c6ac532906b6998f13e4351bc /eclass/check-reqs.eclass | |
parent | multiprocessing.eclass: Introduce get_nproc() to get no of CPUs (diff) | |
download | gentoo-83e052c75fcfff084d1cd98ddb914c63926ece64.tar.gz gentoo-83e052c75fcfff084d1cd98ddb914c63926ece64.tar.bz2 gentoo-83e052c75fcfff084d1cd98ddb914c63926ece64.zip |
multiprocessing.eclass: Support passing custom inf values for getters
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 instead.
Diffstat (limited to 'eclass/check-reqs.eclass')
0 files changed, 0 insertions, 0 deletions