summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-10-01 19:26:03 +0200
committerMichał Górny <mgorny@gentoo.org>2016-10-01 21:05:55 +0200
commita7ee746953e7d29bb1770f50d83340f09e9f8d24 (patch)
tree5c8c61355a567a48167d15b6b97d9c59cfde6a09 /sys-libs
parentsys-libs/libomp: Force lit to respect TMPDIR (diff)
downloadgentoo-a7ee746953e7d29bb1770f50d83340f09e9f8d24.tar.gz
gentoo-a7ee746953e7d29bb1770f50d83340f09e9f8d24.tar.bz2
gentoo-a7ee746953e7d29bb1770f50d83340f09e9f8d24.zip
sys-libs/compiler-rt-sanitizers: Use pre-installed lit
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
index e9ca98269103..9b280fd0ba34 100644
--- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-9999.ebuild
@@ -25,7 +25,8 @@ RDEPEND="${PYTHON_DEPS}
!<sys-devel/llvm-${PV}"
DEPEND="${RDEPEND}
~sys-devel/llvm-${PV}
- test? ( ~sys-devel/clang-${PV}
+ test? ( dev-python/lit[${PYTHON_USEDEP}]
+ ~sys-devel/clang-${PV}
~sys-libs/compiler-rt-${PV} )
${PYTHON_DEPS}"
@@ -69,6 +70,7 @@ src_configure() {
if use test; then
mycmakeargs+=(
-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
+ -DLIT_COMMAND="${EPREFIX}/usr/bin/lit"
# they are created during src_test()
-DCOMPILER_RT_TEST_COMPILER="${BUILD_DIR}/bin/clang"