diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-10-01 19:26:03 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-10-01 21:05:55 +0200 |
commit | a7ee746953e7d29bb1770f50d83340f09e9f8d24 (patch) | |
tree | 5c8c61355a567a48167d15b6b97d9c59cfde6a09 /sys-libs | |
parent | 8cf64098f940776fd38b8ed0b5b5a435f9c20bf5 (diff) | |
download | gentoo-a7ee746953e7d29bb1770f50d83340f09e9f8d24.tar.gz gentoo-a7ee746953e7d29bb1770f50d83340f09e9f8d24.tar.xz |
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.ebuild | 4 |
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 e9ca9826910..9b280fd0ba3 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" |