Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] multiprocessing.eclass: Improvements for wider use
Date: Tue, 13 Dec 2016 09:36:50
Message-Id: 20161213093616.2354-1-mgorny@gentoo.org
1 Hello,
2
3 Here's a short batch of improvements to multiprocessing.eclass.
4
5 Patch 1 fixes handling multiple short args, e.g. '-kj'.
6
7 Patch 2 adds get_nproc() (copied from scons-utils.eclass) that tries
8 to portably determine the number of available CPUs.
9
10 Patch 3 adds the option to explicitly specify the replacement for
11 unlimited jobs/loadvg in makeopts_*() functions.
12
13 2+3 combined makes it possible to provide a safe replacement for
14 unlimited '--jobs' for build systems that do not support limiting
15 '--loadavg'.
16
17 --
18 Best regards,
19 Michał Górny

Replies