sys-libs/libcxx: Control lit job count

Closes: https://bugs.gentoo.org/649554
This commit is contained in:
Michał Górny
2018-03-08 23:18:57 +01:00
parent 0d37c6f56f
commit a52e0c5fb8
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -15,7 +15,8 @@ PYTHON_COMPAT=( python2_7 )
[[ ${PV} == *9999 ]] && SCM="git-r3" || SCM=""
inherit ${SCM} cmake-multilib llvm python-any-r1 toolchain-funcs
inherit ${SCM} cmake-multilib llvm multiprocessing python-any-r1 \
toolchain-funcs
DESCRIPTION="New implementation of the C++ standard library, targeting C++11"
HOMEPAGE="https://libcxx.llvm.org/"
@@ -138,7 +139,7 @@ multilib_src_configure() {
if use test; then
mycmakeargs+=(
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-DLLVM_LIT_ARGS="-vv"
-DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
)
fi
cmake-utils_src_configure
+3 -2
View File
@@ -14,7 +14,8 @@ PYTHON_COMPAT=( python2_7 )
[[ ${PV} == 9999 ]] && SCM="git-r3" || SCM=""
inherit ${SCM} cmake-multilib llvm python-any-r1 toolchain-funcs
inherit ${SCM} cmake-multilib llvm multiprocessing python-any-r1 \
toolchain-funcs
DESCRIPTION="New implementation of the C++ standard library, targeting C++11"
HOMEPAGE="https://libcxx.llvm.org/"
@@ -137,7 +138,7 @@ multilib_src_configure() {
if use test; then
mycmakeargs+=(
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
-DLLVM_LIT_ARGS="-vv"
-DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
)
fi
cmake-utils_src_configure