diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2011-11-10 14:01:41 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2011-11-10 14:01:41 +0000 |
commit | e88a0def399a5ea281cb9a3f3dc98990e780cad8 (patch) | |
tree | 335a531aa93db5828fa1beffd6b06300f57f9043 /sys-devel/clang | |
parent | Add fall-back dependency sys-freebsd/freebsd-ubin. It should work with FreeBS... (diff) | |
download | gentoo-2-e88a0def399a5ea281cb9a3f3dc98990e780cad8.tar.gz gentoo-2-e88a0def399a5ea281cb9a3f3dc98990e780cad8.tar.bz2 gentoo-2-e88a0def399a5ea281cb9a3f3dc98990e780cad8.zip |
Fix tests (needs full compilation of llvm, remove broken test)
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/clang')
-rw-r--r-- | sys-devel/clang/ChangeLog | 5 | ||||
-rw-r--r-- | sys-devel/clang/clang-3.0_rc3.ebuild | 15 |
2 files changed, 17 insertions, 3 deletions
diff --git a/sys-devel/clang/ChangeLog b/sys-devel/clang/ChangeLog index 05b1a38f9697..15b30749bfbe 100644 --- a/sys-devel/clang/ChangeLog +++ b/sys-devel/clang/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-devel/clang # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.45 2011/11/09 22:55:22 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.46 2011/11/10 14:01:41 voyageur Exp $ + + 10 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org> clang-3.0_rc3.ebuild: + Fix tests (needs full compilation of llvm, remove broken test) *clang-3.0_rc3 (09 Nov 2011) diff --git a/sys-devel/clang/clang-3.0_rc3.ebuild b/sys-devel/clang/clang-3.0_rc3.ebuild index 157b91f2d89f..d98bb9a42c23 100644 --- a/sys-devel/clang/clang-3.0_rc3.ebuild +++ b/sys-devel/clang/clang-3.0_rc3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-3.0_rc3.ebuild,v 1.1 2011/11/09 22:55:22 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-3.0_rc3.ebuild,v 1.2 2011/11/10 14:01:41 voyageur Exp $ EAPI=3 @@ -99,7 +99,14 @@ src_configure() { } src_compile() { - emake VERBOSE=1 KEEP_SYMBOLS=1 REQUIRES_RTTI=1 clang-only || die "emake failed" + local COMPILE_TARGET + if use test; then + COMPILE_TARGET="all" + else + COMPILE_TARGET="clang-only" + fi + emake VERBOSE=1 KEEP_SYMBOLS=1 REQUIRES_RTTI=1 \ + ${COMPILE_TARGET} || die "emake failed" } src_test() { @@ -108,6 +115,10 @@ src_test() { cd "${S}"/tools/clang || die "cd clang failed" + # Broken test always assuming i386 host with multilib gcc 4.6.0 + # http://llvm.org/bugs/show_bug.cgi?id=11094 + rm -f test/Driver/linux-ld.c + echo ">>> Test phase [test]: ${CATEGORY}/${PF}" if ! emake -j1 VERBOSE=1 test; then has test $FEATURES && die "Make test failed. See above for details." |