summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-12-13 10:31:12 +0100
committerMichał Górny <mgorny@gentoo.org>2016-12-18 14:46:46 +0100
commit83e052c75fcfff084d1cd98ddb914c63926ece64 (patch)
tree6eeeea7da2417d0c6ac532906b6998f13e4351bc /kde-misc
parentmultiprocessing.eclass: Introduce get_nproc() to get no of CPUs (diff)
downloadgentoo-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 'kde-misc')
0 files changed, 0 insertions, 0 deletions