From: Bernard Cafarelli Date: Wed, 11 Jan 2012 21:03:12 +0000 (+0000) Subject: Removing after last rites, bug #392951 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93616af401ab4bc7d909ec1238a8dc090ddd674d;p=gentoo.git Removing after last rites, bug #392951 --- diff --git a/sys-devel/llvm-gcc/ChangeLog b/sys-devel/llvm-gcc/ChangeLog deleted file mode 100644 index a52e95e1ead6..000000000000 --- a/sys-devel/llvm-gcc/ChangeLog +++ /dev/null @@ -1,63 +0,0 @@ -# ChangeLog for sys-devel/llvm-gcc -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/ChangeLog,v 1.11 2011/04/07 09:56:13 voyageur Exp $ - -*llvm-gcc-2.9 (07 Apr 2011) - - 07 Apr 2011; Bernard Cafarelli -llvm-gcc-2.8.ebuild, - +llvm-gcc-2.9.ebuild, llvm-gcc-9999.ebuild: - Version bump, restrict tests (it is the gcc test suite), force -j1 on install - - 28 Mar 2011; Bernard Cafarelli -llvm-gcc-2.7.ebuild, - -llvm-gcc-2.7-r1.ebuild: - Drop 2.7 versions - -*llvm-gcc-2.8 (06 Oct 2010) - - 06 Oct 2010; Bernard Cafarelli -llvm-gcc-2.6.ebuild, - +llvm-gcc-2.8.ebuild: - 2.8 version bump - - 26 Aug 2010; Fabian Groffen llvm-gcc-2.7-r1.ebuild, - llvm-gcc-9999.ebuild: - Bump to EAPI=3, make Prefix aware, add support for Darwin platforms, bug - #333617 - -*llvm-gcc-9999 (02 Jun 2010) - - 02 Jun 2010; Bernard Cafarelli - +llvm-gcc-9999.ebuild: - Add live version, by Anders Bach Madsen in bug - #320919 - -*llvm-gcc-2.7-r1 (20 May 2010) - - 20 May 2010; Bernard Cafarelli - +llvm-gcc-2.7-r1.ebuild, +files/gcc-configure-LANG.patch: - Add more code from toolchain eclass, should fix bugs #317525 (et_EE locale - support), #320137 (strip unsupported CFLAGS) - -*llvm-gcc-2.7 (27 Apr 2010) - - 27 Apr 2010; Bernard Cafarelli +llvm-gcc-2.7.ebuild: - 2.7 official release version bump - - 05 Jan 2010; Bernard Cafarelli llvm-gcc-2.6.ebuild: - Add test depend on autogen, thanks to David Leverton - in bug #299220 - - 27 Oct 2009; Bernard Cafarelli llvm-gcc-2.6.ebuild: - Add multilib USE flag and fix no-multilib compilation, bug #290653 - -*llvm-gcc-2.6 (25 Oct 2009) - - 25 Oct 2009; Bernard Cafarelli - -llvm-gcc-2.6_pre2.ebuild, +llvm-gcc-2.6.ebuild: - Bump to final 2.6 release - -*llvm-gcc-2.6_pre2 (05 Oct 2009) - - 05 Oct 2009; Bernard Cafarelli - +llvm-gcc-2.6_pre2.ebuild, +metadata.xml: - Initial commit, thanks everyone in bug #186279 and others - diff --git a/sys-devel/llvm-gcc/Manifest b/sys-devel/llvm-gcc/Manifest deleted file mode 100644 index e56516596654..000000000000 --- a/sys-devel/llvm-gcc/Manifest +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX gcc-configure-LANG.patch 2052 RMD160 91f5b90600dfccb10c4e2308a5a1485275fdfeee SHA1 56ecd1d6f2e4bd0b35ac108be72a4f6f60212c38 SHA256 63de6d2dcfe14f21d147abeb1390405b9220c03f8e968f482d4b4c1cf279c88b -DIST llvm-gcc-4.2-2.9.source.tgz 53637392 RMD160 2f4329a5437b214595b66dc4e005ef1f9fea55a2 SHA1 6576576750c9b2afb42838851d51be0b91b12f3e SHA256 2ad04e0bbedb9781aa068e216d455b92ba5e577db6ae24aef9ac449cb2eb7f54 -EBUILD llvm-gcc-2.9.ebuild 4102 RMD160 f44dbda83f823b89c4033c6a3e9cbfa4817c044c SHA1 f716a90fd227c9ce9c73d4535456359048423249 SHA256 fddd3dc5228f52750d3ebb4232f24a357c4045b98416be02ef78b29da840a077 -EBUILD llvm-gcc-9999.ebuild 3930 RMD160 e5da8650b6a11795052badd6ca58e1d69379fdbf SHA1 bb3cf534e010b20af0b4baf12030789ecf0ebdf4 SHA256 6c2b5bac82c3e011004faf0745eb35f302934c9a1c55e655048b398260a7ffea -MISC ChangeLog 2191 RMD160 838ebf6db1c61b1845b40246f89e56270b96c4fd SHA1 9d4d3dc29dd53a2af6d72777d038ad98d6c2eb20 SHA256 7b6239b9f8debf6c2e05c954d0cf09eb97f6900408ca5a5792ecd41926f4ad92 -MISC metadata.xml 1188 RMD160 3d306925ed66867080e528e64e904a2f88c1bec3 SHA1 0e0b540400cf9adb0363b1154a1d473d51661421 SHA256 303fe4ece61f086a4f51e5bb98ddbc6f1bc84e32ec4a879ddfc78932e9d45840 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) - -iJwEAQEIAAYFAk59s+UACgkQfXuS5UK5QB0yMwP8CZmBrUOMt9NolJ/hnEF+Vy9O -q8lm4pKfbsF0quPWYxaMQoxDjQKZMoB4fwZH/YNSW2FqCBF514L5GuE3XrC++XdE -xfa97V5RXPNbaIWWGGDmRSMqaH5Va0Ge4KZTXQOI0n3xd6HW2OCf2muRiDHe4WoP -MOVdRB681nD8tiTo0ts= -=L//N ------END PGP SIGNATURE----- diff --git a/sys-devel/llvm-gcc/files/gcc-configure-LANG.patch b/sys-devel/llvm-gcc/files/gcc-configure-LANG.patch deleted file mode 100644 index d1b1b0353662..000000000000 --- a/sys-devel/llvm-gcc/files/gcc-configure-LANG.patch +++ /dev/null @@ -1,64 +0,0 @@ -The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in -option parsing, it may break. - -http://bugs.gentoo.org/103483 - ---- configure -+++ configure -@@ -54,6 +54,19 @@ - infodir='${prefix}/info' - mandir='${prefix}/man' - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -+ eval $as_var=C; export $as_var -+ else -+ unset $as_var -+ fi -+done -+ - # Initialize some other variables. - subdirs= - MFLAGS= MAKEFLAGS= -@@ -452,16 +463,6 @@ - esac - done - --# NLS nuisances. --# Only set these to C if already set. These must not be set unconditionally --# because not all systems understand e.g. LANG=C (notably SCO). --# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! --# Non-C LC_CTYPE values break the ctype check. --if test "${LANG+set}" = set; then LANG=C; export LANG; fi --if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi --if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi --if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -- - # confdefs.h avoids OS command line length limits that DEFS can exceed. - rm -rf conftest* confdefs.h - # AIX cpp loses on an empty file, so make sure it contains at least a newline. -@@ -1850,6 +1850,19 @@ - # Compiler output produced by configure, useful for debugging - # configure, is in ./config.log if it exists. - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then -+ eval \$as_var=C; export \$as_var -+ else -+ unset \$as_var -+ fi -+done -+ - ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" - for ac_option - do diff --git a/sys-devel/llvm-gcc/llvm-gcc-2.9.ebuild b/sys-devel/llvm-gcc/llvm-gcc-2.9.ebuild deleted file mode 100644 index 94f7d2d214f4..000000000000 --- a/sys-devel/llvm-gcc/llvm-gcc-2.9.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2011 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.9.ebuild,v 1.1 2011/04/07 09:56:13 voyageur Exp $ - -EAPI=3 -inherit libtool flag-o-matic gnuconfig multilib - -LLVM_GCC_VERSION=4.2 -MY_PV=${LLVM_GCC_VERSION}-${PV/_pre*} - -DESCRIPTION="LLVM C front-end" -HOMEPAGE="http://llvm.org" -SRC_URI="http://llvm.org/releases/${PV}/${PN}-${MY_PV}.source.tgz" - -LICENSE="GPL-2" -SLOT=0 -KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos" -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/binutils-apple-3.2.3 ) - >=sys-devel/bison-1.875 - test? ( dev-util/dejagnu - sys-devel/autogen )" - -S=${WORKDIR}/llvm-gcc-${MY_PV}.source - -src_prepare() { - #we keep the directory structure suggested by README.LLVM, - mkdir -p "${S}"/obj - - # From toolchain eclass - elibtoolize --portage --shallow --no-uclibc - gnuconfig_update - - # update configure files - local f - for f in $(grep -l 'autoconf version 2.13' $(find "${S}" -name configure)) ; do - #ebegin " Updating ${f/${S}\/} [LANG]" - ebegin " Updating \"${f/${S}\/}\" [LANG]" - patch "${f}" "${FILESDIR}"/gcc-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - sed -i 's|A-Za-z0-9|[:alnum:]|g' gcc/*.awk #215828 - - if [[ -x contrib/gcc_update ]] ; then - einfo "Touching generated files" - ./contrib/gcc_update --touch | \ - while read f ; do - einfo " ${f%%...}" - done - fi -} - -src_configure() { - gcc_do_filter_flags - # Target options are handled by econf - - cd "${S}"/obj - EXTRALANGS="" - use fortran && EXTRALANGS="${EXTRALANGS},fortran" - use objc && EXTRALANGS="${EXTRALANGS},objc" - use objc++ && EXTRALANGS="${EXTRALANGS},obj-c++" - - ECONF_SOURCE="${S}" econf --prefix="${EPREFIX}"/usr/$(get_libdir)/${PN}-${MY_PV} \ - $(use_enable multilib) \ - --program-prefix=${PN}-${MY_PV}- \ - --enable-llvm="${EPREFIX}"/usr --enable-languages=c,c++${EXTRALANGS} \ - $(use prefix && echo "--with-local-prefix=${EPREFIX}/usr") \ - || die "configure failed" -} - -src_compile() { - gcc_do_filter_flags - cd "${S}"/obj - BUILDOPTIONS="LLVM_VERSION_INFO=${MY_PV}" - use bootstrap && BUILDOPTIONS="${BUILDOPTIONS} bootstrap" - emake ${BUILDOPTIONS} || die "emake failed" -} - -src_test() { - cd "${S}"/obj - emake -j1 -k check || ewarn "check failed and that sucks :(" -} - -src_install() { - cd "${S}"/obj - - # Do allow symlinks in private gcc include dir as this can break the build - find gcc/include*/ -type l -print0 | xargs -0 rm -f - # Remove generated headers, as they can cause things to break - # (ncurses, openssl, etc). - for x in $(find gcc/include*/ -name '*.h') ; do - grep -q 'It has been auto-edited by fixincludes from' "${x}" \ - && rm -f "${x}" - done - - # Parallel install broken, package dropped in next version => -j1 - emake -j1 DESTDIR="${D}" install || die "installation failed" - rm -rf "${ED}"/usr/share/man/man7 - if ! use nls; then - einfo "nls USE flag disabled, not installing locale files" - rm -rf "${ED}"/usr/share/locale - fi - - # Add some symlinks - dodir /usr/bin - cd "${ED}/usr/bin" - for X in c++ g++ cpp gcc gcov gccbug ; do - ln -s "${EPREFIX}"/usr/$(get_libdir)/${PN}-${MY_PV}/bin/${PN}-${MY_PV}-${X} llvm-${X} - done - use fortran && \ - ln -s "${EPREFIX}"/usr/$(get_libdir)/${PN}-${MY_PV}/bin/${PN}-${MY_PV}-gfortran llvm-gfortran - - # Fix install_names on Darwin. The build system is too complicated - # to just fix this, so we correct it post-install - if [[ ${CHOST} == *-darwin* ]] ; then - local f=$(echo "${ED}"usr/$(get_libdir)/${PN}-${MY_PV}/lib/gcc/${CHOST}/${LLVM_GCC_VERSION}*/libstdc++.dylib) - install_name_tool -id "/${f#${D}}" "${f}" - fi -} - -gcc_do_filter_flags() { - strip-flags - - # In general gcc does not like optimization, and add -O2 where - # it is safe. This is especially true for gcc 3.3 + 3.4 - replace-flags -O? -O2 - - # ... sure, why not? - strip-unsupported-flags - - # dont want to funk ourselves - filter-flags '-mabi*' -m31 -m32 -m64 - - filter-flags '-mcpu=*' -} diff --git a/sys-devel/llvm-gcc/llvm-gcc-9999.ebuild b/sys-devel/llvm-gcc/llvm-gcc-9999.ebuild deleted file mode 100644 index 5a1ac39a71f4..000000000000 --- a/sys-devel/llvm-gcc/llvm-gcc-9999.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/llvm-gcc-9999.ebuild,v 1.3 2011/04/07 09:56:13 voyageur Exp $ - -EAPI=3 -inherit subversion libtool flag-o-matic gnuconfig multilib - -LLVM_GCC_VERSION=4.2 -MY_PV=${LLVM_GCC_VERSION}-${PV/_pre*} - -DESCRIPTION="LLVM C front-end" -HOMEPAGE="http://llvm.org" -SRC_URI="" -ESVN_REPO_URI="http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk" - -LICENSE="GPL-2" -SLOT=0 -KEYWORDS="" -IUSE="bootstrap fortran multilib nls objc objc++" -RESTRICT="test" - -RDEPEND=">=sys-devel/llvm-$PV" -DEPEND="${RDEPEND} - >=sys-apps/texinfo-4.2-r4 - || ( >=sys-devel/binutils-2.18 >=sys-devel/binutils-apple-3.2.3 ) - >=sys-devel/bison-1.875" - -src_prepare() { - #we keep the directory structure suggested by README.LLVM, - mkdir -p "${S}"/obj - - # From toolchain eclass - elibtoolize --portage --shallow --no-uclibc - gnuconfig_update - - # update configure files - local f - for f in $(grep -l 'autoconf version 2.13' $(find "${S}" -name configure)) ; do - #ebegin " Updating ${f/${S}\/} [LANG]" - ebegin " Updating \"${f/${S}\/}\" [LANG]" - patch "${f}" "${FILESDIR}"/gcc-configure-LANG.patch >& "${T}"/configure-patch.log \ - || eerror "Please file a bug about this" - eend $? - done - sed -i 's|A-Za-z0-9|[:alnum:]|g' gcc/*.awk #215828 - - if [[ -x contrib/gcc_update ]] ; then - einfo "Touching generated files" - ./contrib/gcc_update --touch | \ - while read f ; do - einfo " ${f%%...}" - done - fi -} - -src_configure() { - gcc_do_filter_flags - # Target options are handled by econf - - cd "${S}"/obj - EXTRALANGS="" - use fortran && EXTRALANGS="${EXTRALANGS},fortran" - use objc && EXTRALANGS="${EXTRALANGS},objc" - use objc++ && EXTRALANGS="${EXTRALANGS},obj-c++" - - ECONF_SOURCE="${S}" econf --prefix="${EPREFIX}"/usr/$(get_libdir)/${PN}-${MY_PV} \ - $(use_enable multilib) \ - --program-prefix=${PN}-${MY_PV}- \ - --enable-llvm="${EPREFIX}"/usr --enable-languages=c,c++${EXTRALANGS} \ - $(use prefix && echo "--with-local-prefix=${EPREFIX}/usr") \ - || die "configure failed" -} - -src_compile() { - gcc_do_filter_flags - cd "${S}"/obj - BUILDOPTIONS="LLVM_VERSION_INFO=${MY_PV}" - use bootstrap && BUILDOPTIONS="${BUILDOPTIONS} bootstrap" - emake ${BUILDOPTIONS} || die "emake failed" -} - -src_install() { - cd "${S}"/obj - - # Do allow symlinks in private gcc include dir as this can break the build - find gcc/include*/ -type l -print0 | xargs -0 rm -f - # Remove generated headers, as they can cause things to break - # (ncurses, openssl, etc). - for x in $(find gcc/include*/ -name '*.h') ; do - grep -q 'It has been auto-edited by fixincludes from' "${x}" \ - && rm -f "${x}" - done - - # Parallel install broken, package dropped in next version => -j1 - emake -j1 DESTDIR="${D}" install || die "installation failed" - rm -rf "${ED}"/usr/share/man/man7 - if ! use nls; then - einfo "nls USE flag disabled, not installing locale files" - rm -rf "${ED}"/usr/share/locale - fi - - # Add some symlinks - dodir /usr/bin - cd "${ED}/usr/bin" - for X in c++ g++ cpp gcc gcov gccbug ; do - ln -s "${EPREFIX}"/usr/$(get_libdir)/${PN}-${MY_PV}/bin/${PN}-${MY_PV}-${X} llvm-${X} - done - use fortran && \ - ln -s "${EPREFIX}"/usr/$(get_libdir)/${PN}-${MY_PV}/bin/${PN}-${MY_PV}-gfortran llvm-gfortran - - # Fix install_names on Darwin. The build system is too complicated - # to just fix this, so we correct it post-install - if [[ ${CHOST} == *-darwin* ]] ; then - local f=$(echo "${ED}"usr/$(get_libdir)/${PN}-${MY_PV}/lib/gcc/${CHOST}/${LLVM_GCC_VERSION}*/libstdc++.dylib) - install_name_tool -id "/${f#${D}}" "${f}" - fi -} - -gcc_do_filter_flags() { - strip-flags - - # In general gcc does not like optimization, and add -O2 where - # it is safe. This is especially true for gcc 3.3 + 3.4 - replace-flags -O? -O2 - - # ... sure, why not? - strip-unsupported-flags - - # dont want to funk ourselves - filter-flags '-mabi*' -m31 -m32 -m64 - - filter-flags '-mcpu=*' -} diff --git a/sys-devel/llvm-gcc/metadata.xml b/sys-devel/llvm-gcc/metadata.xml deleted file mode 100644 index ff9431634705..000000000000 --- a/sys-devel/llvm-gcc/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - voyageur@gentoo.org - Bernard Cafarelli - - 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. - - Compile the final llvm-gcc executables with llvm-gcc itself - Build support for the Objective C code language - Build support for the Objective C++ language - -