commit:     f1e1fca21dafbdda7ec207c51aae469f21c497ef
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  8 22:03:16 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar  8 22:18:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e1fca2

sys-libs/llvm-libunwind: Control lit job count

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

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

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild
index 87f9ee1eb39..789d9a6d71c 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 # (needed due to CMAKE_BUILD_TYPE != Gentoo)
 CMAKE_MIN_VERSION=3.7.0-r1
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-inherit cmake-multilib git-r3 llvm python-any-r1
+inherit cmake-multilib git-r3 llvm multiprocessing python-any-r1
 
 DESCRIPTION="C++ runtime stack unwinder from LLVM"
 HOMEPAGE="https://github.com/llvm-mirror/libunwind";
@@ -72,7 +72,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)")}"
                        -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}"/libcxx
                )
        fi

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
index 02cd558be9a..c16358fe4c6 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 # (needed due to CMAKE_BUILD_TYPE != Gentoo)
 CMAKE_MIN_VERSION=3.7.0-r1
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-inherit cmake-multilib git-r3 llvm python-any-r1
+inherit cmake-multilib git-r3 llvm multiprocessing python-any-r1
 
 DESCRIPTION="C++ runtime stack unwinder from LLVM"
 HOMEPAGE="https://github.com/llvm-mirror/libunwind";
@@ -71,7 +71,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)")}"
                        -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}"/libcxx
                )
        fi

Reply via email to