]> code.ossystems Code Review - openembedded-core.git/commit
cmake: prefer CMAKE_BUILD_PARALLEL_LEVEL
authorDaniel McGregor <daniel.mcgregor@vecima.com>
Thu, 23 Jan 2020 21:44:42 +0000 (15:44 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Feb 2020 15:56:24 +0000 (15:56 +0000)
commitcdd44c93f02bb8cc2fa773e13c8ce36e3da23921
tree3e6783cdf8faea9118c21a84e4884fb3cc56983b
parent54a5daca450b8be251c45730ae4c0511811b668a
cmake: prefer CMAKE_BUILD_PARALLEL_LEVEL

cmake 3.12 introduced this environment variable. Prefer it to passing
PARALLEL_MAKE and PARALLEL_MAKEINST on the cmake command line, because
it gets passed to second stage cmake invocations while command-line
arguments do not (for example, multi-stage clang builds)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cmake.bbclass
meta/lib/oe/utils.py