commit:     6f92382169da4cd3942b866af9191ffa309afc96
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  8 21:58:35 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar  8 22:18:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f923821

sys-devel/llvm: Control lit job count

Closes: https://bugs.gentoo.org/649554

 sys-devel/llvm/llvm-6.0.9999.ebuild | 4 ++--
 sys-devel/llvm/llvm-9999.ebuild     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-devel/llvm/llvm-6.0.9999.ebuild 
b/sys-devel/llvm/llvm-6.0.9999.ebuild
index a0f997bfbd7..d460300fe42 100644
--- a/sys-devel/llvm/llvm-6.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-6.0.9999.ebuild
@@ -9,7 +9,7 @@ CMAKE_MIN_VERSION=3.7.0-r1
 PYTHON_COMPAT=( python2_7 )
 
 inherit cmake-utils eapi7-ver flag-o-matic git-r3 multilib-minimal \
-       pax-utils python-any-r1 toolchain-funcs
+       multiprocessing pax-utils python-any-r1 toolchain-funcs
 
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="https://llvm.org/";
@@ -136,7 +136,7 @@ multilib_src_configure() {
 #      fi
 
        use test && mycmakeargs+=(
-               -DLLVM_LIT_ARGS="-vv"
+               -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs 
"${MAKEOPTS}" "$(get_nproc)")}"
        )
 
        if multilib_is_native_abi; then

diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild
index 85c7b23b987..ca30a2f3e4f 100644
--- a/sys-devel/llvm/llvm-9999.ebuild
+++ b/sys-devel/llvm/llvm-9999.ebuild
@@ -9,7 +9,7 @@ CMAKE_MIN_VERSION=3.7.0-r1
 PYTHON_COMPAT=( python2_7 )
 
 inherit cmake-utils eapi7-ver flag-o-matic git-r3 multilib-minimal \
-       pax-utils python-any-r1 toolchain-funcs
+       multiprocessing pax-utils python-any-r1 toolchain-funcs
 
 DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="https://llvm.org/";
@@ -141,7 +141,7 @@ multilib_src_configure() {
 #      fi
 
        use test && mycmakeargs+=(
-               -DLLVM_LIT_ARGS="-vv"
+               -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs 
"${MAKEOPTS}" "$(get_nproc)")}"
        )
 
        if multilib_is_native_abi; then

Reply via email to