1 |
voyageur 15/02/27 21:54:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dragonegg-3.6.0.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key C74525F2) |
9 |
|
10 |
Revision Changes Path |
11 |
1.23 sys-devel/dragonegg/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/ChangeLog?rev=1.23&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/ChangeLog?rev=1.23&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/ChangeLog?r1=1.22&r2=1.23 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v |
20 |
retrieving revision 1.22 |
21 |
retrieving revision 1.23 |
22 |
diff -u -r1.22 -r1.23 |
23 |
--- ChangeLog 18 Feb 2015 21:33:18 -0000 1.22 |
24 |
+++ ChangeLog 27 Feb 2015 21:54:21 -0000 1.23 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-devel/dragonegg |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v 1.22 2015/02/18 21:33:18 voyageur Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v 1.23 2015/02/27 21:54:21 voyageur Exp $ |
30 |
+ |
31 |
+*dragonegg-3.6.0 (27 Feb 2015) |
32 |
+ |
33 |
+ 27 Feb 2015; Bernard Cafarelli <voyageur@g.o> +dragonegg-3.6.0.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
18 Feb 2015; Bernard Cafarelli <voyageur@g.o> -dragonegg-3.5.0.ebuild, |
37 |
dragonegg-3.5.1.ebuild, dragonegg-9999.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-devel/dragonegg/dragonegg-3.6.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-3.6.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-3.6.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: dragonegg-3.6.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.6.0.ebuild,v 1.1 2015/02/27 21:54:21 voyageur Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit eutils multilib toolchain-funcs |
54 |
|
55 |
DESCRIPTION="GCC plugin that uses LLVM for optimization and code generation" |
56 |
HOMEPAGE="http://dragonegg.llvm.org/" |
57 |
SRC_URI="http://llvm.org/releases/${PV}/${P}.src.tar.xz |
58 |
test? ( http://llvm.org/releases/${PV}/llvm-${PV}.src.tar.xz )" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~x86 ~amd64-linux" |
63 |
IUSE="test" |
64 |
|
65 |
DEPEND=">=sys-devel/gcc-4.5:* |
66 |
=sys-devel/llvm-${PV}*" |
67 |
RDEPEND="${DEPEND}" |
68 |
|
69 |
S=${WORKDIR}/${P}.src |
70 |
|
71 |
pkg_pretend() { |
72 |
# Bug #511640: gcc 4.9 removed a required header |
73 |
if [[ ${MERGE_TYPE} != binary ]]; then |
74 |
[[ $(gcc-version) > 4.8 || $(gcc-version) < 4.5 ]] && \ |
75 |
die 'The active compiler needs to be gcc 4.[5-8])' |
76 |
fi |
77 |
} |
78 |
|
79 |
src_compile() { |
80 |
# GCC: compiler to use plugin with |
81 |
emake CC="$(tc-getCC)" GCC="$(tc-getCC)" CXX="$(tc-getCXX)" VERBOSE=1 |
82 |
} |
83 |
|
84 |
src_test() { |
85 |
# GCC languages are determined via locale-dependant gcc -v output |
86 |
export LC_ALL=C |
87 |
|
88 |
emake LIT_DIR="${WORKDIR}"/llvm-${PV}.src/utils/lit check |
89 |
} |
90 |
|
91 |
src_install() { |
92 |
exeinto /usr/$(get_libdir) |
93 |
doexe dragonegg.so |
94 |
|
95 |
dodoc README |
96 |
} |
97 |
|
98 |
pkg_postinst() { |
99 |
elog "To use dragonegg, run gcc as usual, with an extra command line argument:" |
100 |
elog " -fplugin=/usr/$(get_libdir)/dragonegg.so" |
101 |
elog "If you change the active gcc profile, or update gcc to a new version," |
102 |
elog "you will have to remerge this package to update the plugin" |
103 |
} |