mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/lit: Control lit job count
Closes: https://bugs.gentoo.org/649554
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
inherit distutils-r1 git-r3
|
||||
inherit distutils-r1 git-r3 multiprocessing
|
||||
|
||||
DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
@@ -36,5 +36,6 @@ src_unpack() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
./lit.py -vv tests || die
|
||||
./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \
|
||||
-vv tests || die
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
inherit distutils-r1 git-r3
|
||||
inherit distutils-r1 git-r3 multiprocessing
|
||||
|
||||
DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
@@ -35,5 +35,6 @@ src_unpack() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
./lit.py -vv tests || die
|
||||
./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \
|
||||
-vv tests || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user