summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-08 23:00:16 +0100
committerMichał Górny <mgorny@gentoo.org>2018-03-08 23:18:54 +0100
commitd9462da2d9120bb030bbe5ab7ace39c486c76e21 (patch)
treeda3c5aea01ce0d4ff63158dc85ca2f81555f2169 /sys-devel
parentdev-ml/llvm-ocaml: Control lit job count (diff)
downloadgentoo-d9462da2d9120bb030bbe5ab7ace39c486c76e21.tar.gz
gentoo-d9462da2d9120bb030bbe5ab7ace39c486c76e21.tar.bz2
gentoo-d9462da2d9120bb030bbe5ab7ace39c486c76e21.zip
sys-devel/lld: Control lit job count
Closes: https://bugs.gentoo.org/649554
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/lld/lld-6.0.9999.ebuild4
-rw-r--r--sys-devel/lld/lld-9999.ebuild6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys-devel/lld/lld-6.0.9999.ebuild b/sys-devel/lld/lld-6.0.9999.ebuild
index e09f7df135c6..07ac3dcb657c 100644
--- a/sys-devel/lld/lld-6.0.9999.ebuild
+++ b/sys-devel/lld/lld-6.0.9999.ebuild
@@ -8,7 +8,7 @@ EAPI=6
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils git-r3 llvm python-any-r1
+inherit cmake-utils git-r3 llvm multiprocessing python-any-r1
DESCRIPTION="The LLVM linker (link editor)"
HOMEPAGE="https://llvm.org/"
@@ -64,7 +64,7 @@ src_configure() {
-DLLVM_BUILD_TESTS=ON
-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
- -DLLVM_LIT_ARGS="-vv"
+ -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
)
cmake-utils_src_configure
diff --git a/sys-devel/lld/lld-9999.ebuild b/sys-devel/lld/lld-9999.ebuild
index 92677f7e04e6..65b1e9793b1c 100644
--- a/sys-devel/lld/lld-9999.ebuild
+++ b/sys-devel/lld/lld-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -8,7 +8,7 @@ EAPI=6
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils git-r3 llvm python-any-r1
+inherit cmake-utils git-r3 llvm multiprocessing python-any-r1
DESCRIPTION="The LLVM linker (link editor)"
HOMEPAGE="https://llvm.org/"
@@ -63,7 +63,7 @@ src_configure() {
-DLLVM_BUILD_TESTS=ON
-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
- -DLLVM_LIT_ARGS="-vv"
+ -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
)
cmake-utils_src_configure