From: Michał Górny Date: Thu, 8 Mar 2018 22:00:46 +0000 (+0100) Subject: sys-devel/clang: Control lit job count X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ac86f623016f2232dc6b645ee70c747b05e2a1cf;p=gentoo.git sys-devel/clang: Control lit job count Closes: https://bugs.gentoo.org/649554 --- diff --git a/sys-devel/clang/clang-6.0.9999.ebuild b/sys-devel/clang/clang-6.0.9999.ebuild index 2a2a844387a9..245213c78d2e 100644 --- a/sys-devel/clang/clang-6.0.9999.ebuild +++ b/sys-devel/clang/clang-6.0.9999.ebuild @@ -9,7 +9,8 @@ CMAKE_MIN_VERSION=3.7.0-r1 PYTHON_COMPAT=( python2_7 ) inherit cmake-utils eapi7-ver flag-o-matic git-r3 llvm \ - multilib-minimal pax-utils python-single-r1 toolchain-funcs + multilib-minimal multiprocessing pax-utils python-single-r1 \ + toolchain-funcs DESCRIPTION="C language family frontend for LLVM" HOMEPAGE="https://llvm.org/" @@ -136,7 +137,7 @@ multilib_src_configure() { ) use test && mycmakeargs+=( -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" - -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/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index b3392999ee87..9513fa282b5b 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -9,7 +9,8 @@ CMAKE_MIN_VERSION=3.7.0-r1 PYTHON_COMPAT=( python2_7 ) inherit cmake-utils eapi7-ver flag-o-matic git-r3 llvm \ - multilib-minimal pax-utils python-single-r1 toolchain-funcs + multilib-minimal multiprocessing pax-utils python-single-r1 \ + toolchain-funcs DESCRIPTION="C language family frontend for LLVM" HOMEPAGE="https://llvm.org/" @@ -137,7 +138,7 @@ multilib_src_configure() { ) use test && mycmakeargs+=( -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" - -DLLVM_LIT_ARGS="-vv" + -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" ) if multilib_is_native_abi; then