mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
sys-libs/libcxx: Control lit job count
Closes: https://bugs.gentoo.org/649554
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user