diff options
author | 2010-04-29 09:11:22 +0000 | |
---|---|---|
committer | 2010-04-29 09:11:22 +0000 | |
commit | 768e27b8c74345694ad568382ce8d11332d286df (patch) | |
tree | f58de7a08b0b8d99b54c7c09b060f6a1bf29b209 | |
parent | Add llvm 2.7 svn ebuilds (diff) | |
download | jokey-768e27b8c74345694ad568382ce8d11332d286df.tar.gz jokey-768e27b8c74345694ad568382ce8d11332d286df.tar.bz2 jokey-768e27b8c74345694ad568382ce8d11332d286df.zip |
Remove invalid stuff
svn path=/trunk/; revision=773
-rw-r--r-- | net-dialup/vodafone-mobile-connect/Manifest | 3 | ||||
-rw-r--r-- | net-dialup/vodafone-mobile-connect/vodafone-mobile-connect-2.0.0_pre9999.ebuild | 20 | ||||
-rw-r--r-- | net-dialup/vodafone-mobile-connect/vodafone-mobile-connect-2.0_beta3.ebuild | 35 | ||||
-rw-r--r-- | sys-devel/llvm-gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/llvm-gcc/llvm-gcc-2.7_pre1.ebuild | 76 | ||||
-rw-r--r-- | sys-devel/llvm-gcc/metadata.xml | 19 | ||||
-rw-r--r-- | sys-devel/llvm/Manifest | 5 | ||||
-rw-r--r-- | sys-devel/llvm/files/llvm-2.7-cflags.patch | 38 | ||||
-rw-r--r-- | sys-devel/llvm/files/llvm-2.7-destdir.patch | 16 | ||||
-rw-r--r-- | sys-devel/llvm/files/llvm-2.7-nodoctargz.patch | 36 | ||||
-rw-r--r-- | sys-devel/llvm/llvm-2.7_pre1.ebuild | 160 | ||||
-rw-r--r-- | sys-devel/llvm/metadata.xml | 19 |
12 files changed, 0 insertions, 429 deletions
diff --git a/net-dialup/vodafone-mobile-connect/Manifest b/net-dialup/vodafone-mobile-connect/Manifest deleted file mode 100644 index edfe2be..0000000 --- a/net-dialup/vodafone-mobile-connect/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST vodafone-mobile-connect-card-driver-for-linux-2.0.beta3.tar.gz 3158815 RMD160 730c53ed37b801728636a00d1b13aea3ea88743f SHA1 af39b89e1f95d2fae98c7bae8038e9c9e3d6128d SHA256 8d353cde44c3d813d47a87b51bd6a3b184b984b7a62d16eec8ad878204420aef -EBUILD vodafone-mobile-connect-2.0.0_pre9999.ebuild 462 RMD160 bb65a740e37b91c185b4b2fa50894c8152c8b7d3 SHA1 43411cc411be3a1ea7711854724c5a06c2a58f9f SHA256 35a96b157a9705906a75ae0435ca5e199ba54e58fa6a2052fe6403137837fe72 -EBUILD vodafone-mobile-connect-2.0_beta3.ebuild 926 RMD160 968dff12ccf75abd11b9a3c962c8990a2ac9cf33 SHA1 9545878720774e5e746707f1327c19f6b64a6975 SHA256 478a5cedb6b043ba4dc267335e96caea36731c99f318063dffad6c2fe7f0ca63 diff --git a/net-dialup/vodafone-mobile-connect/vodafone-mobile-connect-2.0.0_pre9999.ebuild b/net-dialup/vodafone-mobile-connect/vodafone-mobile-connect-2.0.0_pre9999.ebuild deleted file mode 100644 index b5c1e8f..0000000 --- a/net-dialup/vodafone-mobile-connect/vodafone-mobile-connect-2.0.0_pre9999.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit distutils subversion - -DESCRIPTION="Connect software for Vodafone-sold UMTS Cards and Sticks" -HOMEPAGE="https://forge.betavine.net/projects/vodafonemobilec/" -ESVN_REPO_URI="https://forge.betavine.net/svn/vodafonemobilec/trunk/src/vodafone-mobile-connect/" - -LICENSE="" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND="" -RDEPEND="" - diff --git a/net-dialup/vodafone-mobile-connect/vodafone-mobile-connect-2.0_beta3.ebuild b/net-dialup/vodafone-mobile-connect/vodafone-mobile-connect-2.0_beta3.ebuild deleted file mode 100644 index beaa7fe..0000000 --- a/net-dialup/vodafone-mobile-connect/vodafone-mobile-connect-2.0_beta3.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit distutils - -MY_PN=vodafone-mobile-connect-card-driver-for-linux -MY_PV=${PV/_beta/.beta} -MY_P=${MY_PN}-${MY_PV} -DESCRIPTION="GUI for Vodafone and other UMTS/HSDPA Sticks and Cards" -HOMEPAGE="https://forge.betavine.net/projects/vodafonemobilec/" -# URI has absolute addressing, so specifying in full, listing -# at https://forge.betavine.net/frs/?group_id=12 -SRC_URI="https://forge.betavine.net/frs/download.php/267/${MY_P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1 BSD MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-python/dbus-python - dev-python/twisted - dev-python/pyserial - dev-python/pygtk:2 - >=dev-lang/python-2.5[sqlite] - net-dialup/wvdial - dev-python/notify-python - dev-python/gnome-python - dev-python/pytz - >=sys-apps/usb_modeswitch-0.9.6" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} diff --git a/sys-devel/llvm-gcc/Manifest b/sys-devel/llvm-gcc/Manifest deleted file mode 100644 index a804942..0000000 --- a/sys-devel/llvm-gcc/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -EBUILD llvm-gcc-2.7_pre1.ebuild 2104 RMD160 396d94a332bf710e923cbb254323e4a4e77dff74 SHA1 09d4a37e55eae2d5d2f83e9317b81c9467af0a18 SHA256 200d2d2698110d0be97e9975e9a5dc22302fda01c0f4ff346fe34cb23533d1d2 -MISC metadata.xml 1210 RMD160 452adfc54714ef433d1029368d731d2ba232443a SHA1 00c2795c89050749d088beb5202877fa6bf7a01d SHA256 9d192d1f60fc67d6bee5d6669fe84adc94a097d42f70a6f20e4f708d094b5d7c diff --git a/sys-devel/llvm-gcc/llvm-gcc-2.7_pre1.ebuild b/sys-devel/llvm-gcc/llvm-gcc-2.7_pre1.ebuild deleted file mode 100644 index b0730da..0000000 --- a/sys-devel/llvm-gcc/llvm-gcc-2.7_pre1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/llvm-gcc-2.6.ebuild,v 1.3 2010/01/05 10:19:26 voyageur Exp $ - -EAPI=2 -inherit multilib subversion - -LLVM_GCC_VERSION=4.2 -MY_PV=${LLVM_GCC_VERSION}-${PV/_pre*} - -DESCRIPTION="LLVM C front-end" -HOMEPAGE="http://llvm.org" -ESVN_REPO_URI="http://llvm.org/svn/llvm-project/llvm-gcc-${LLVM_GCC_VERSION}/trunk" - -LICENSE="GPL-2" -SLOT=0 -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="bootstrap fortran multilib nls objc objc++ test" - -RDEPEND=">=sys-devel/llvm-$PV" -DEPEND="${RDEPEND} - >=sys-apps/texinfo-4.2-r4 - >=sys-devel/binutils-2.18 - >=sys-devel/bison-1.875 - test? ( dev-util/dejagnu - sys-devel/autogen )" - -S=${WORKDIR}/llvm-gcc${MY_PV}.source/obj - -src_unpack() { - subversion_fetch "${ESVN_REPO_URI}" ".." -} - -src_prepare() { - #we keep the directory structure suggested by README.LLVM, - mkdir -p "${S}" -} - -src_configure() { - # Target options are handled by econf - - EXTRALANGS="" - use fortran && EXTRALANGS="${EXTRALANGS},fortran" - use objc && EXTRALANGS="${EXTRALANGS},objc" - use objc++ && EXTRALANGS="${EXTRALANGS},obj-c++" - - ECONF_SOURCE="${WORKDIR}"/llvm-gcc${MY_PV}.source econf --prefix=/usr/$(get_libdir)/${PN}-${MY_PV} \ - $(use_enable multilib) \ - --program-prefix=${PN}-${MY_PV}- \ - --enable-llvm=/usr --enable-languages=c,c++${EXTRALANGS} \ - || die "configure failed" -} - -src_compile() { - BUILDOPTIONS="LLVM_VERSION_INFO=${MY_PV}" - use bootstrap && BUILDOPTIONS="${BUILDOPTIONS} bootstrap" - emake ${BUILDOPTIONS} || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "installation failed" - rm -rf "${D}"/usr/share/man/man7 - if ! use nls; then - einfo "nls USE flag disabled, not installing locale files" - rm -rf "${D}"/usr/share/locale - fi - - # Add some symlinks - dodir /usr/bin - cd "${D}/usr/bin" - for X in c++ g++ cpp gcc gcov gccbug ; do - ln -s /usr/$(get_libdir)/${PN}-${MY_PV}/bin/${PN}-${MY_PV}-${X} llvm-${X} - done - use fortran && \ - ln -s /usr/$(get_libdir)/${PN}-${MY_PV}/bin/${PN}-${MY_PV}-gfortran llvm-gfortran -} diff --git a/sys-devel/llvm-gcc/metadata.xml b/sys-devel/llvm-gcc/metadata.xml deleted file mode 100644 index b9821af..0000000 --- a/sys-devel/llvm-gcc/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>voyageur@gentoo.org</email> - <name>Bernard Cafarelli</name> - </maintainer> - <longdescription>The llvm-gcc command is the LLVM C front end. It is a modified version of gcc that compiles C/ObjC programs into native objects, LLVM bitcode or LLVM assembly language, depending upon the options. - -By default, llvm-gcc compiles to native objects just like GCC does. If the -emit-llvm and -c options are given then it will generate LLVM bitcode files instead. If -emit-llvm and -S are given, then it will generate LLVM assembly. - -Being derived from the GNU Compiler Collection, llvm-gcc has many of gcc's features and accepts most of gcc's options. It handles a number of gcc's extensions to the C programming language. See the gcc documentation for details.</longdescription> - <use> - <flag name="bootstrap">Compile the final llvm-gcc executables with llvm-gcc itself</flag> - <flag name="objc">Build support for the Objective C code language</flag> - <flag name="objc++">Build support for the Objective C++ language</flag> - </use> -</pkgmetadata> diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest deleted file mode 100644 index 9122379..0000000 --- a/sys-devel/llvm/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX llvm-2.7-cflags.patch 1271 RMD160 a69165481cacebc301ccba838cfc5763c391ecff SHA1 0e773702d6314f9879bc845c0d6e072d71f4bb44 SHA256 d9bc94de0438a8c7ee7a0c2c6446c8b5b329c1afc3440611afc2cbb958cfb4f5 -AUX llvm-2.7-destdir.patch 664 RMD160 ebb4563e5033f9d5e4fc59e5bbc8b9ad01ce1700 SHA1 d06f75afe21d0e08a6e7fa4b13aa4ed75cfa5e19 SHA256 3bed5624b157bccd6712a3f817f511bd2cf618a294c81628348de0213afb680f -AUX llvm-2.7-nodoctargz.patch 1431 RMD160 11c4200faa14c94a346a94bda40f7bcfc2be7aec SHA1 18b51111ace79cf2bcea0e4d2e17c4dcaad52f2e SHA256 c07c654c12f031fb8bb79ab3a9a806d0f1eee13ff2140c597af5c4d9b19615b9 -EBUILD llvm-2.7_pre1.ebuild 5059 RMD160 1f1ad432cbefd3fd007e19660c4f157442e7b36d SHA1 edbdf8ddf471015d2b98e6836f741a2a857c3dd2 SHA256 d8865745e3e0cc6ea11fbc584004faec6e44b8266bcd9e9302d75d74d3762ec5 -MISC metadata.xml 2288 RMD160 af9be4ed48671eb880b16f7be6fd0f4cce20e05e SHA1 c5c0bcb6379a43f938fa9746acac91de66021af1 SHA256 7ee8a761be956332d626157b4eda36fd907ecb82609c4dbbbe5ce0a26632ece2 diff --git a/sys-devel/llvm/files/llvm-2.7-cflags.patch b/sys-devel/llvm/files/llvm-2.7-cflags.patch deleted file mode 100644 index 9ae4373..0000000 --- a/sys-devel/llvm/files/llvm-2.7-cflags.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -urN ./llvm-2.7.orig/Makefile.rules ./llvm-2.7/Makefile.rules ---- ./llvm-2.7.orig/Makefile.rules 2010-03-20 13:48:04.000000000 +0100 -+++ ./llvm-2.7/Makefile.rules 2010-03-20 13:52:19.000000000 +0100 -@@ -314,12 +314,6 @@ - CPP.Defines := - ifeq ($(ENABLE_OPTIMIZED),1) - BuildMode := Release -- # Don't use -fomit-frame-pointer on Darwin or FreeBSD. -- ifneq ($(HOST_OS),FreeBSD) -- ifneq ($(HOST_OS),Darwin) -- OmitFramePointer := -fomit-frame-pointer -- endif -- endif - - # Darwin requires -fstrict-aliasing to be explicitly enabled. - # Avoid -fstrict-aliasing on Darwin for now, there are unresolved issues -@@ -327,8 +321,8 @@ - #ifeq ($(HOST_OS),Darwin) - # EXTRA_OPTIONS += -fstrict-aliasing -Wstrict-aliasing - #endif -- CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer) -- C.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer) -+ CXX.Flags += $(OPTIMIZE_OPTION) -+ C.Flags += $(OPTIMIZE_OPTION) - LD.Flags += $(OPTIMIZE_OPTION) - ifdef DEBUG_SYMBOLS - BuildMode := $(BuildMode)+Debug -@@ -381,8 +381,8 @@ - - # If REQUIRES_RTTI=1 is specified then don't disable run-time type id. - ifneq ($(REQUIRES_RTTI), 1) -- CXX.Flags += -fno-rtti -- CXXFLAGS += -fno-rtti -+ #CXX.Flags += -fno-rtti -+ #CXXFLAGS += -fno-rtti - endif - - ifdef ENABLE_COVERAGE diff --git a/sys-devel/llvm/files/llvm-2.7-destdir.patch b/sys-devel/llvm/files/llvm-2.7-destdir.patch deleted file mode 100644 index 09b1b06..0000000 --- a/sys-devel/llvm/files/llvm-2.7-destdir.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- ./Makefile.config.in.orig 2010-03-20 14:30:25.000000000 +0100 -+++ ./Makefile.config.in 2010-03-20 14:37:35.000000000 +0100 -@@ -77,10 +77,10 @@ - LLVMMAKE := $(LLVM_SRC_ROOT)/make - - PROJ_bindir := $(PROJ_prefix)/bin --PROJ_libdir := $(DESTDIR)/usr/lib64 -+PROJ_libdir := $(PROJ_prefix)/lib64 - PROJ_datadir := $(PROJ_prefix)/share --PROJ_docsdir := $(DESTDIR)$(PROJ_prefix)/share/doc/llvm-2.7_pre1 --PROJ_etcdir := $(DESTDIR)/etc/llvm -+PROJ_docsdir := $(PROJ_prefix)/share/doc/llvm-2.7_pre1 -+PROJ_etcdir := $(PROJ_prefix)/etc/llvm - PROJ_includedir := $(PROJ_prefix)/include - PROJ_infodir := $(PROJ_prefix)/info - PROJ_mandir := $(PROJ_prefix)/share/man diff --git a/sys-devel/llvm/files/llvm-2.7-nodoctargz.patch b/sys-devel/llvm/files/llvm-2.7-nodoctargz.patch deleted file mode 100644 index bcbb262..0000000 --- a/sys-devel/llvm/files/llvm-2.7-nodoctargz.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -urN ./llvm-2.7.orig/docs/Makefile ./llvm-2.7/docs/Makefile ---- ./llvm-2.7.orig/docs/Makefile 2010-03-20 13:48:01.000000000 +0100 -+++ ./llvm-2.7/docs/Makefile 2010-03-20 13:56:26.000000000 +0100 -@@ -46,30 +46,21 @@ - # 'make generated BUILD_FOR_WEBSITE=1' - generated:: doxygen ocamldoc - --install-html: $(PROJ_OBJ_DIR)/html.tar.gz -+install-html: - $(Echo) Installing HTML documentation - $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html - $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/img - $(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html - $(Verb) $(DataInstall) $(IMAGES) $(DESTDIR)$(PROJ_docsdir)/html/img -- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir) -- --$(PROJ_OBJ_DIR)/html.tar.gz: $(HTML) -- $(Echo) Packaging HTML documentation -- $(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/html.tar -- $(Verb) cd $(PROJ_SRC_DIR) && \ -- $(TAR) cf $(PROJ_OBJ_DIR)/html.tar *.html -- $(Verb) $(GZIP) $(PROJ_OBJ_DIR)/html.tar - - install-doxygen: doxygen - $(Echo) Installing doxygen documentation - $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen -- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir) - $(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \ - $(FIND) . -type f -exec \ - $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/html/doxygen \; - --doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz -+doxygen: regendoc - - regendoc: - $(Echo) Building doxygen documentation diff --git a/sys-devel/llvm/llvm-2.7_pre1.ebuild b/sys-devel/llvm/llvm-2.7_pre1.ebuild deleted file mode 100644 index 61e7062..0000000 --- a/sys-devel/llvm/llvm-2.7_pre1.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-2.6-r1.ebuild,v 1.1 2010/03/18 19:38:22 voyageur Exp $ - -EAPI="2" -inherit eutils multilib toolchain-funcs subversion - -DESCRIPTION="Low Level Virtual Machine" -HOMEPAGE="http://llvm.org/" -ESVN_REPO_URI="http://llvm.org/svn/llvm-project/llvm/trunk" - -LICENSE="UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="alltargets debug +libffi llvm-gcc ocaml test" - -DEPEND="dev-lang/perl - >=sys-devel/make-3.79 - >=sys-devel/flex-2.5.4 - >=sys-devel/bison-1.28 - !~sys-devel/bison-1.85 - !~sys-devel/bison-1.875 - >=sys-devel/gcc-3.0 - >=sys-devel/binutils-2.18 - libffi? ( virtual/libffi ) - llvm-gcc? ( sys-devel/llvm-gcc ) - ocaml? ( dev-lang/ocaml ) - test? ( dev-util/dejagnu )" -RDEPEND="dev-lang/perl" - -S=${WORKDIR}/${PN}-${PV/_pre*} - -pkg_setup() { - # need to check if the active compiler is ok - - broken_gcc=" 3.2.2 3.2.3 3.3.2 4.1.1 " - broken_gcc_x86=" 3.4.0 3.4.2 " - broken_gcc_amd64=" 3.4.6 " - - gcc_vers=$(gcc-fullversion) - - if [[ ${broken_gcc} == *" ${version} "* ]] ; then - elog "Your version of gcc is known to miscompile llvm." - elog "Check http://www.llvm.org/docs/GettingStarted.html for" - elog "possible solutions." - die "Your currently active version of gcc is known to miscompile llvm" - fi - - if [[ ${CHOST} == i*86-* && ${broken_gcc_x86} == *" ${version} "* ]] ; then - elog "Your version of gcc is known to miscompile llvm on x86" - elog "architectures. Check" - elog "http://www.llvm.org/docs/GettingStarted.html for possible" - elog "solutions." - die "Your currently active version of gcc is known to miscompile llvm" - fi - - if [[ ${CHOST} == x86_64-* && ${broken_gcc_amd64} == *" ${version} "* ]]; - then - elog "Your version of gcc is known to miscompile llvm in amd64" - elog "architectures. Check" - elog "http://www.llvm.org/docs/GettingStarted.html for possible" - elog "solutions." - die "Your currently active version of gcc is known to miscompile llvm" - fi -} - -src_prepare() { - # unfortunately ./configure won't listen to --mandir and the-like, so take - # care of this. - einfo "Fixing install dirs" - sed -e 's,^PROJ_docsdir.*,PROJ_docsdir := $(DESTDIR)$(PROJ_prefix)/share/doc/'${PF}, \ - -e 's,^PROJ_etcdir.*,PROJ_etcdir := $(DESTDIR)/etc/llvm,' \ - -e 's,^PROJ_libdir.*,PROJ_libdir := $(DESTDIR)/usr/'$(get_libdir), \ - -i Makefile.config.in || die "sed failed" - - einfo "Fixing rpath" - sed -e 's/\$(RPATH) -Wl,\$(\(ToolDir\|LibDir\))//g' -i Makefile.rules || die "sed failed" - - # Fix docs installation - sed -e '/^NO_INSTALL_MANS/s/$/$(DST_MAN_DIR)tblgen.1 $(DST_MAN_DIR)llvmgcc.1 $(DST_MAN_DIR)llvmgxx.1/' \ - -i docs/CommandGuide/Makefile || die "manpages sed failed" - epatch "${FILESDIR}"/${PN}-2.7-nodoctargz.patch - - # Buggy test, http://llvm.org/bugs/show_bug.cgi?id=5047 - rm test/DebugInfo/2009-01-15-dbg_declare.ll - - # Do not force -O3 -fomit-frame-pointer on users - epatch "${FILESDIR}"/${PN}-2.7-cflags.patch - - # Fix some destdir h0rkage - epatch "${FILESDIR}"/${PN}-2.7-destdir.patch -} - -src_configure() { - local CONF_FLAGS="" - - if use debug; then - CONF_FLAGS="${CONF_FLAGS} --disable-optimized" - einfo "Note: Compiling LLVM in debug mode will create huge and slow binaries" - # ...and you probably shouldn't use tmpfs, unless it can hold 900MB - else - CONF_FLAGS="${CONF_FLAGS} \ - --enable-optimized \ - --disable-assertions \ - --disable-expensive-checks" - fi - - if use alltargets; then - CONF_FLAGS="${CONF_FLAGS} --enable-targets=all" - else - CONF_FLAGS="${CONF_FLAGS} --enable-targets=host-only" - fi - - if use amd64; then - CONF_FLAGS="${CONF_FLAGS} --enable-pic" - fi - - # things would be built differently depending on whether llvm-gcc is - # used or not. - local LLVM_GCC_DIR=/dev/null - local LLVM_GCC_DRIVER=nope ; local LLVM_GPP_DRIVER=nope - if use llvm-gcc ; then - if has_version sys-devel/llvm-gcc; then - LLVM_GCC_DIR=$(ls -d ${ROOT}/usr/$(get_libdir)/llvm-gcc* 2> /dev/null) - LLVM_GCC_DRIVER=$(find ${LLVM_GCC_DIR} -name 'llvm*-gcc' 2> /dev/null) - if [[ -z ${LLVM_GCC_DRIVER} ]] ; then - die "failed to find installed llvm-gcc, LLVM_GCC_DIR=${LLVM_GCC_DIR}" - fi - einfo "Using $LLVM_GCC_DRIVER" - LLVM_GPP_DRIVER=${LLVM_GCC_DRIVER/%-gcc/-g++} - else - eerror "llvm-gcc USE flag enabled, but sys-devel/llvm-gcc was not found" - eerror "Building with standard gcc, re-merge this package after installing" - eerror "llvm-gcc to build with it" - eerror "This is normal behavior on first LLVM merge" - fi - fi - - CONF_FLAGS="${CONF_FLAGS} \ - --with-llvmgccdir=${LLVM_GCC_DIR} \ - --with-llvmgcc=${LLVM_GCC_DRIVER} \ - --with-llvmgxx=${LLVM_GPP_DRIVER}" - - if use ocaml; then - CONF_FLAGS="${CONF_FLAGS} --enable-bindings=ocaml" - else - CONF_FLAGS="${CONF_FLAGS} --enable-bindings=none" - fi - - CONF_FLAGS="${CONF_FLAGS} $(use_enable libffi)" - econf ${CONF_FLAGS} || die "econf failed" -} - -src_compile() { - emake VERBOSE=1 KEEP_SYMBOLS=1 || die "emake failed" -} - -src_install() { - emake KEEP_SYMBOLS=1 DESTDIR="${D}" install || die "install failed" -} diff --git a/sys-devel/llvm/metadata.xml b/sys-devel/llvm/metadata.xml deleted file mode 100644 index 3f50323..0000000 --- a/sys-devel/llvm/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>voyageur@gentoo.org</email> - <name>Bernard Cafarelli</name> - </maintainer> - <longdescription>Low Level Virtual Machine (LLVM) is: - 1. A compilation strategy designed to enable effective program optimization across the entire lifetime of a program. LLVM supports effective optimization at compile time, link-time (particularly interprocedural), run-time and offline (i.e., after software is installed), while remaining transparent to developers and maintaining compatibility with existing build scripts. - 2. A virtual instruction set - LLVM is a low-level object code representation that uses simple RISC-like instructions, but provides rich, language-independent, type information and dataflow (SSA) information about operands. This combination enables sophisticated transformations on object code, while remaining light-weight enough to be attached to the executable. This combination is key to allowing link-time, run-time, and offline transformations. - 3. A compiler infrastructure - LLVM is also a collection of source code that implements the language and compilation strategy. The primary components of the LLVM infrastructure are a GCC-based C and C++ front-end, a link-time optimization framework with a growing set of global and interprocedural analyses and transformations, static back-ends for many popular (and some obscure) architectures, a back-end which emits portable C code, and a Just-In-Time compilers for several architectures. - 4. LLVM does not imply things that you would expect from a high-level virtual machine. It does not require garbage collection or run-time code generation (In fact, LLVM makes a great static compiler!). Note that optional LLVM components can be used to build high-level virtual machines and other systems that need these services.</longdescription> - <use> - <flag name='alltargets'>Build all host targets (default: host only)</flag> - <flag name='libffi'>Add support to call arbitrary external (natively compiled) functions via <pkg>dev-libs/libffi</pkg></flag> - <flag name='llvm-gcc'>Build LLVM with <pkg>sys-devel/llvm-gcc</pkg></flag> - </use> -</pkgmetadata> |