Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/
Date: Sat, 01 Oct 2016 13:06:13
Message-Id: 1475327159.3eb4d59a51e8c6fe63ce5b19ba3ce68865677df6.mgorny@gentoo
1 commit: 3eb4d59a51e8c6fe63ce5b19ba3ce68865677df6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 1 11:45:23 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 13:05:59 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb4d59a
7
8 sys-devel/clang: Use installed lit for tests
9
10 sys-devel/clang/clang-9999.ebuild | 4 ++++
11 1 file changed, 4 insertions(+)
12
13 diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
14 index c201bba..cedfc02 100644
15 --- a/sys-devel/clang/clang-9999.ebuild
16 +++ b/sys-devel/clang/clang-9999.ebuild
17 @@ -38,6 +38,7 @@ RDEPEND="
18 # configparser-3.2 breaks the build (3.3 or none at all are fine)
19 DEPEND="${RDEPEND}
20 doc? ( dev-python/sphinx )
21 + test? ( dev-python/lit[${PYTHON_USEDEP}] )
22 xml? ( virtual/pkgconfig )
23 !!<dev-python/configparser-3.3.0.2
24 ${PYTHON_DEPS}"
25 @@ -160,6 +161,9 @@ multilib_src_configure() {
26 )
27 use test && mycmakeargs+=(
28 -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
29 + -DLIT_COMMAND="${EPREFIX}/usr/bin/lit"
30 + fi
31 +
32 )
33
34 if multilib_is_native_abi; then