commit: 3eb4d59a51e8c6fe63ce5b19ba3ce68865677df6 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Oct 1 11:45:23 2016 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Oct 1 13:05:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb4d59a
sys-devel/clang: Use installed lit for tests sys-devel/clang/clang-9999.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index c201bba..cedfc02 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -38,6 +38,7 @@ RDEPEND=" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${RDEPEND} doc? ( dev-python/sphinx ) + test? ( dev-python/lit[${PYTHON_USEDEP}] ) xml? ( virtual/pkgconfig ) !!<dev-python/configparser-3.3.0.2 ${PYTHON_DEPS}" @@ -160,6 +161,9 @@ multilib_src_configure() { ) use test && mycmakeargs+=( -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" + -DLIT_COMMAND="${EPREFIX}/usr/bin/lit" + fi + ) if multilib_is_native_abi; then