commit: 8797c1711155c9c6cb3f2f1b8486eba0a9a23d82
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 18 21:49:22 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 19 09:13:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8797c171
sys-devel/clang: Build tests in src_compile()
Build tests in src_compile() (when enabled) rather than delaying that
until src_test(). This ensures a better split between compilation phase
and testing in multilib builds, i.e. you can turn off other distcc
servers when first ABI starts testing. Also, it guarantees that building
the tests will be tested for all ABIs, even if the actual tests fail for
one of them.
sys-devel/clang/clang-9999.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys-devel/clang/clang-9999.ebuild
b/sys-devel/clang/clang-9999.ebuild
index 3dfce9b..035ac3d 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -141,8 +141,7 @@ multilib_src_configure() {
-DBUILD_SHARED_LIBS=ON
-DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
- # TODO: get them properly conditional
- #-DLLVM_BUILD_TESTS=$(usex test)
+ -DLLVM_BUILD_TESTS=$(usex test)
# these are not propagated reliably, so redefine them
-DLLVM_ENABLE_EH=ON