summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-08 23:03:31 +0100
committerMichał Górny <mgorny@gentoo.org>2018-03-08 23:18:56 +0100
commit0d37c6f56f69dbcb6bdf0893eedf71583c1a660f (patch)
tree3d3ced46dcd658f4495d2eab67d4ca7ce394eed0 /sys-libs/libcxxabi
parentsys-libs/llvm-libunwind: Control lit job count (diff)
downloadgentoo-0d37c6f56f69dbcb6bdf0893eedf71583c1a660f.tar.gz
gentoo-0d37c6f56f69dbcb6bdf0893eedf71583c1a660f.tar.bz2
gentoo-0d37c6f56f69dbcb6bdf0893eedf71583c1a660f.zip
sys-libs/libcxxabi: Control lit job count
Closes: https://bugs.gentoo.org/649554
Diffstat (limited to 'sys-libs/libcxxabi')
-rw-r--r--sys-libs/libcxxabi/libcxxabi-6.0.9999.ebuild4
-rw-r--r--sys-libs/libcxxabi/libcxxabi-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-libs/libcxxabi/libcxxabi-6.0.9999.ebuild b/sys-libs/libcxxabi/libcxxabi-6.0.9999.ebuild
index 3018d56a299d..b9675a9e147f 100644
--- a/sys-libs/libcxxabi/libcxxabi-6.0.9999.ebuild
+++ b/sys-libs/libcxxabi/libcxxabi-6.0.9999.ebuild
@@ -8,7 +8,7 @@ EAPI=6
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
-inherit cmake-multilib git-r3 llvm python-any-r1
+inherit cmake-multilib git-r3 llvm multiprocessing python-any-r1
DESCRIPTION="Low level support for a standard C++ library"
HOMEPAGE="https://libcxxabi.llvm.org/"
@@ -77,7 +77,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
diff --git a/sys-libs/libcxxabi/libcxxabi-9999.ebuild b/sys-libs/libcxxabi/libcxxabi-9999.ebuild
index dcf9e5a2123e..9cf976d80c3f 100644
--- a/sys-libs/libcxxabi/libcxxabi-9999.ebuild
+++ b/sys-libs/libcxxabi/libcxxabi-9999.ebuild
@@ -8,7 +8,7 @@ EAPI=6
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
-inherit cmake-multilib git-r3 llvm python-any-r1
+inherit cmake-multilib git-r3 llvm multiprocessing python-any-r1
DESCRIPTION="Low level support for a standard C++ library"
HOMEPAGE="https://libcxxabi.llvm.org/"
@@ -76,7 +76,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