Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/dragonegg: ChangeLog dragonegg-3.1.ebuild dragonegg-9999.ebuild
Date: Tue, 03 Jul 2012 13:57:41
Message-Id: 20120703135717.38D562004B@flycatcher.gentoo.org
1 voyageur 12/07/03 13:57:17
2
3 Modified: ChangeLog dragonegg-3.1.ebuild
4 dragonegg-9999.ebuild
5 Log:
6 Tests require lit from llvm. Note that at the moment, test suites are external, so running tests will not produce many results. Bug #423511
7
8 (Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 sys-devel/dragonegg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 24 May 2012 12:13:40 -0000 1.7
24 +++ ChangeLog 3 Jul 2012 13:57:17 -0000 1.8
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-devel/dragonegg
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v 1.7 2012/05/24 12:13:40 xarthisius Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v 1.8 2012/07/03 13:57:17 voyageur Exp $
30 +
31 + 03 Jul 2012; Bernard Cafarelli <voyageur@g.o> dragonegg-3.1.ebuild,
32 + dragonegg-9999.ebuild:
33 + Tests require lit from llvm. Note that at the moment, test suites are
34 + external, so running tests will not produce many results. Bug #423511
35
36 *dragonegg-3.1 (24 May 2012)
37
38
39
40
41 1.2 sys-devel/dragonegg/dragonegg-3.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-3.1.ebuild?rev=1.2&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-3.1.ebuild?rev=1.2&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-3.1.ebuild?r1=1.1&r2=1.2
46
47 Index: dragonegg-3.1.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.1.ebuild,v
50 retrieving revision 1.1
51 retrieving revision 1.2
52 diff -u -r1.1 -r1.2
53 --- dragonegg-3.1.ebuild 24 May 2012 12:13:40 -0000 1.1
54 +++ dragonegg-3.1.ebuild 3 Jul 2012 13:57:17 -0000 1.2
55 @@ -1,13 +1,14 @@
56 # Copyright 1999-2012 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.1.ebuild,v 1.1 2012/05/24 12:13:40 xarthisius Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.1.ebuild,v 1.2 2012/07/03 13:57:17 voyageur Exp $
60
61 EAPI=4
62 inherit multilib toolchain-funcs
63
64 DESCRIPTION="GCC plugin that uses LLVM for optimization and code generation"
65 HOMEPAGE="http://dragonegg.llvm.org/"
66 -SRC_URI="http://llvm.org/releases/${PV}/${P}.src.tar.gz"
67 +SRC_URI="http://llvm.org/releases/${PV}/${P}.src.tar.gz
68 + test? ( http://llvm.org/releases/${PV}/llvm-${PV}.src.tar.gz )"
69
70 LICENSE="GPL-2"
71 SLOT="0"
72 @@ -32,6 +33,10 @@
73 emake CC="$(tc-getCC)" GCC="$(tc-getCC)" CXX="$(tc-getCXX)" VERBOSE=1
74 }
75
76 +src_test() {
77 + emake LIT_DIR="${WORKDIR}"/llvm-${PV}.src/utils/lit check
78 +}
79 +
80 src_install() {
81 # Install plugin in llvm lib directory
82 exeinto /usr/$(get_libdir)/llvm
83
84
85
86 1.2 sys-devel/dragonegg/dragonegg-9999.ebuild
87
88 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-9999.ebuild?rev=1.2&view=markup
89 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-9999.ebuild?rev=1.2&content-type=text/plain
90 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-9999.ebuild?r1=1.1&r2=1.2
91
92 Index: dragonegg-9999.ebuild
93 ===================================================================
94 RCS file: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-9999.ebuild,v
95 retrieving revision 1.1
96 retrieving revision 1.2
97 diff -u -r1.1 -r1.2
98 --- dragonegg-9999.ebuild 2 Dec 2011 23:54:26 -0000 1.1
99 +++ dragonegg-9999.ebuild 3 Jul 2012 13:57:17 -0000 1.2
100 @@ -1,6 +1,6 @@
101 -# Copyright 1999-2011 Gentoo Foundation
102 +# Copyright 1999-2012 Gentoo Foundation
103 # Distributed under the terms of the GNU General Public License v2
104 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-9999.ebuild,v 1.1 2011/12/02 23:54:26 voyageur Exp $
105 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-9999.ebuild,v 1.2 2012/07/03 13:57:17 voyageur Exp $
106
107 EAPI=4
108 inherit subversion multilib
109 @@ -20,6 +20,14 @@
110 ~sys-devel/llvm-${PV}"
111 RDEPEND="${DEPEND}"
112
113 +src_unpack() {
114 + if use test;
115 + then
116 + ESVN_PROJECT=llvm S="${WORKDIR}"/llvm subversion_fetch "http://llvm.org/svn/llvm-project/llvm/trunk"
117 + fi
118 + subversion_fetch
119 +}
120 +
121 src_prepare() {
122 # Replace svnversion call
123 subversion_wc_info
124 @@ -32,6 +40,10 @@
125 emake CC="$(tc-getCC)" GCC="$(tc-getCC)" CXX="$(tc-getCXX)" VERBOSE=1
126 }
127
128 +src_test() {
129 + emake LIT_DIR="${WORKDIR}"/llvm/utils/lit check
130 +}
131 +
132 src_install() {
133 # Install plugin in llvm lib directory
134 exeinto /usr/$(get_libdir)/llvm