voyageur    15/02/27 21:54:21

  Modified:             ChangeLog
  Added:                dragonegg-3.6.0.ebuild
  Log:
  Version bump
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 
C74525F2)

Revision  Changes    Path
1.23                 sys-devel/dragonegg/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/ChangeLog?rev=1.23&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/ChangeLog?rev=1.23&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/ChangeLog?r1=1.22&r2=1.23

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog   18 Feb 2015 21:33:18 -0000      1.22
+++ ChangeLog   27 Feb 2015 21:54:21 -0000      1.23
@@ -1,6 +1,11 @@
 # ChangeLog for sys-devel/dragonegg
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v 1.22 
2015/02/18 21:33:18 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/ChangeLog,v 1.23 
2015/02/27 21:54:21 voyageur Exp $
+
+*dragonegg-3.6.0 (27 Feb 2015)
+
+  27 Feb 2015; Bernard Cafarelli <[email protected]> +dragonegg-3.6.0.ebuild:
+  Version bump
 
   18 Feb 2015; Bernard Cafarelli <[email protected]> -dragonegg-3.5.0.ebuild,
   dragonegg-3.5.1.ebuild, dragonegg-9999.ebuild:



1.1                  sys-devel/dragonegg/dragonegg-3.6.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-3.6.0.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/dragonegg/dragonegg-3.6.0.ebuild?rev=1.1&content-type=text/plain

Index: dragonegg-3.6.0.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.6.0.ebuild,v 
1.1 2015/02/27 21:54:21 voyageur Exp $

EAPI=5
inherit eutils multilib toolchain-funcs

DESCRIPTION="GCC plugin that uses LLVM for optimization and code generation"
HOMEPAGE="http://dragonegg.llvm.org/";
SRC_URI="http://llvm.org/releases/${PV}/${P}.src.tar.xz
        test? ( http://llvm.org/releases/${PV}/llvm-${PV}.src.tar.xz )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="test"

DEPEND=">=sys-devel/gcc-4.5:*
        =sys-devel/llvm-${PV}*"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${P}.src

pkg_pretend() {
        # Bug #511640: gcc 4.9 removed a required header
        if [[ ${MERGE_TYPE} != binary ]]; then
                [[ $(gcc-version) > 4.8 || $(gcc-version) < 4.5 ]] && \
                        die 'The active compiler needs to be gcc 4.[5-8])'
        fi
}

src_compile() {
        # GCC: compiler to use plugin with
        emake CC="$(tc-getCC)" GCC="$(tc-getCC)" CXX="$(tc-getCXX)" VERBOSE=1
}

src_test() {
        # GCC languages are determined via locale-dependant gcc -v output
        export LC_ALL=C

        emake LIT_DIR="${WORKDIR}"/llvm-${PV}.src/utils/lit check
}

src_install() {
        exeinto /usr/$(get_libdir)
        doexe dragonegg.so

        dodoc README
}

pkg_postinst() {
        elog "To use dragonegg, run gcc as usual, with an extra command line 
argument:"
        elog "  -fplugin=/usr/$(get_libdir)/dragonegg.so"
        elog "If you change the active gcc profile, or update gcc to a new 
version,"
        elog "you will have to remerge this package to update the plugin"
}




Reply via email to