diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-07-21 01:49:41 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-07-21 01:49:41 +0000 |
commit | d8b09c83caee60e661fa147379717db037f9e9d5 (patch) | |
tree | 8219cf8e30d2704ff29487c0a62a3790be2ac8c6 /sys-devel | |
parent | cleanup (diff) | |
download | lu_zero-d8b09c83caee60e661fa147379717db037f9e9d5.tar.gz lu_zero-d8b09c83caee60e661fa147379717db037f9e9d5.tar.bz2 lu_zero-d8b09c83caee60e661fa147379717db037f9e9d5.zip |
Compiler, first commit
svn path=/; revision=18
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc-cell/Manifest | 15 | ||||
-rw-r--r-- | sys-devel/gcc-cell/files/digest-gcc-cell-4.0.2 | 24 | ||||
-rw-r--r-- | sys-devel/gcc-cell/files/gcc-configure-LANG.patch | 64 | ||||
-rw-r--r-- | sys-devel/gcc-cell/gcc-cell-4.0.2.ebuild | 52 |
4 files changed, 155 insertions, 0 deletions
diff --git a/sys-devel/gcc-cell/Manifest b/sys-devel/gcc-cell/Manifest new file mode 100644 index 0000000..593e2a7 --- /dev/null +++ b/sys-devel/gcc-cell/Manifest @@ -0,0 +1,15 @@ +DIST toolchain-3.2-src.tar.bz2 56088626 RMD160 36e89fb8d46631d311e5f71ed764eb112dbbb46a SHA1 6e695fd1620166ddfcb5a5db50b1963ad345ecfe SHA256 23d298a0fbae88fbf7cfb6025fcae7ad7021e275f0a706c11bde3585ca27835a +DIST toolchain-altivec-cmple-fix.diff 447 RMD160 2672d2e8a5fbf6aab03cac8600e99e8766c1713d SHA1 df155338f4145f2937ddb8ae4b67f6b7804efc5d SHA256 1d5128e5def6e384fd6b0a1110e06485bde3733dd323482c8f34bb432016af7e +DIST toolchain-altivec-fix.diff 141212 RMD160 2527e34fc581191b895a9c7c365179d485f034f7 SHA1 db3e73c9c988e38b4734f8b941e448b173ec75a7 SHA256 d4e1fa6cc2a7ffd5701982e75fdc6cc92d40b3b3f0517d50c0f5c0c83a059ce6 +DIST toolchain-build-revert.diff 24746 RMD160 006eb649dcc590c923e96a8e6530d2938a53e779 SHA1 19af55b330058cc7101e8fedab95db96b4352e55 SHA256 23a836163948ba5a76de46255a5baf26307c6cc644c97455668cf040f543905e +DIST toolchain-convertible-revert.diff 525 RMD160 8cea15cda378bebaf59facac6dee7a7207ee8a0b SHA1 ba9b2699aa7711eee8358f906f50d4f398ca1dc9 SHA256 f14f5b99388f07f64599a15ff23e8f8a1c06af42f00427fbceba3b176a38978b +DIST toolchain-libiberty-merge.diff 4517 RMD160 d8317c5269c7dfc544bbf457aacafa7963bb6d9e SHA1 d3c1b5024eb0a3a055550df261befe834a9a3369 SHA256 e4716c23971a5b5f840297806da23ee0a85572beba06d7dff14d29339c3dd9e3 +DIST toolchain-m32-m64-multilib-only.diff 877 RMD160 94a74834d9e4ac9f1a3edbcc9662c75f541c80ff SHA1 4ed297d0705e9378cf9f420096c517dd749129ff SHA256 c3e6dde924250d6081a4781846ccb69dd326fb6d71b78b0640d08ecffc4de0a7 +DIST toolchain-mfcio-stdint.diff 1011 RMD160 c68f966390fab2b8b3140b74bc0435e75f5d915d SHA1 028f298d313f1054669498b7c7027985dfef83d8 SHA256 d58d699e85c832f8bb94716b35341cf6b540b2a0b067ea7ac911a7fb8b4e390b +EBUILD gcc-cell-4.0.2.ebuild 1515 RMD160 9a8da615cb06edb33ce5f35ec184d2d787dc8e0d SHA1 8d1a82f74c3520a90b18cbef91777269916075ef SHA256 3103782d14815d17ae47e6f5e14d92cd4bc94d633912689bbb9e95f3ed07caf2 +MD5 397684649cc9394bd130c5bf0acd8e79 gcc-cell-4.0.2.ebuild 1515 +RMD160 9a8da615cb06edb33ce5f35ec184d2d787dc8e0d gcc-cell-4.0.2.ebuild 1515 +SHA256 3103782d14815d17ae47e6f5e14d92cd4bc94d633912689bbb9e95f3ed07caf2 gcc-cell-4.0.2.ebuild 1515 +MD5 d8cdb8de6aa851ccffd7bb300b284287 files/digest-gcc-cell-4.0.2 2120 +RMD160 0709b3b7775e9c015f5ad9fd7789e35c24edda5e files/digest-gcc-cell-4.0.2 2120 +SHA256 ccc708b029a43587c23ef13f4963a79cb9093bf13d372fe0803d539c633c9623 files/digest-gcc-cell-4.0.2 2120 diff --git a/sys-devel/gcc-cell/files/digest-gcc-cell-4.0.2 b/sys-devel/gcc-cell/files/digest-gcc-cell-4.0.2 new file mode 100644 index 0000000..48b7fcf --- /dev/null +++ b/sys-devel/gcc-cell/files/digest-gcc-cell-4.0.2 @@ -0,0 +1,24 @@ +MD5 c8df705ddcf61b615afad1297f080e13 toolchain-3.2-src.tar.bz2 56088626 +RMD160 36e89fb8d46631d311e5f71ed764eb112dbbb46a toolchain-3.2-src.tar.bz2 56088626 +SHA256 23d298a0fbae88fbf7cfb6025fcae7ad7021e275f0a706c11bde3585ca27835a toolchain-3.2-src.tar.bz2 56088626 +MD5 7bc4b750c29cba6b17617391080847ab toolchain-altivec-cmple-fix.diff 447 +RMD160 2672d2e8a5fbf6aab03cac8600e99e8766c1713d toolchain-altivec-cmple-fix.diff 447 +SHA256 1d5128e5def6e384fd6b0a1110e06485bde3733dd323482c8f34bb432016af7e toolchain-altivec-cmple-fix.diff 447 +MD5 fcccc48e8e0a4256da622ec1023f1ca2 toolchain-altivec-fix.diff 141212 +RMD160 2527e34fc581191b895a9c7c365179d485f034f7 toolchain-altivec-fix.diff 141212 +SHA256 d4e1fa6cc2a7ffd5701982e75fdc6cc92d40b3b3f0517d50c0f5c0c83a059ce6 toolchain-altivec-fix.diff 141212 +MD5 ea3e5adae63a8197d1f3d1666b86b383 toolchain-build-revert.diff 24746 +RMD160 006eb649dcc590c923e96a8e6530d2938a53e779 toolchain-build-revert.diff 24746 +SHA256 23a836163948ba5a76de46255a5baf26307c6cc644c97455668cf040f543905e toolchain-build-revert.diff 24746 +MD5 e427a74f3c4fd4bc042738aa93585262 toolchain-convertible-revert.diff 525 +RMD160 8cea15cda378bebaf59facac6dee7a7207ee8a0b toolchain-convertible-revert.diff 525 +SHA256 f14f5b99388f07f64599a15ff23e8f8a1c06af42f00427fbceba3b176a38978b toolchain-convertible-revert.diff 525 +MD5 d4c5cff0a2123ada3a7d3bf5da5683cd toolchain-libiberty-merge.diff 4517 +RMD160 d8317c5269c7dfc544bbf457aacafa7963bb6d9e toolchain-libiberty-merge.diff 4517 +SHA256 e4716c23971a5b5f840297806da23ee0a85572beba06d7dff14d29339c3dd9e3 toolchain-libiberty-merge.diff 4517 +MD5 3a39b72f6a64160b54a9ebfbedeb8a72 toolchain-m32-m64-multilib-only.diff 877 +RMD160 94a74834d9e4ac9f1a3edbcc9662c75f541c80ff toolchain-m32-m64-multilib-only.diff 877 +SHA256 c3e6dde924250d6081a4781846ccb69dd326fb6d71b78b0640d08ecffc4de0a7 toolchain-m32-m64-multilib-only.diff 877 +MD5 b1c580452ba0bd18123e12a27a1eb213 toolchain-mfcio-stdint.diff 1011 +RMD160 c68f966390fab2b8b3140b74bc0435e75f5d915d toolchain-mfcio-stdint.diff 1011 +SHA256 d58d699e85c832f8bb94716b35341cf6b540b2a0b067ea7ac911a7fb8b4e390b toolchain-mfcio-stdint.diff 1011 diff --git a/sys-devel/gcc-cell/files/gcc-configure-LANG.patch b/sys-devel/gcc-cell/files/gcc-configure-LANG.patch new file mode 100644 index 0000000..d1b1b03 --- /dev/null +++ b/sys-devel/gcc-cell/files/gcc-configure-LANG.patch @@ -0,0 +1,64 @@ +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/gcc-cell/gcc-cell-4.0.2.ebuild b/sys-devel/gcc-cell/gcc-cell-4.0.2.ebuild new file mode 100644 index 0000000..d1e04b6 --- /dev/null +++ b/sys-devel/gcc-cell/gcc-cell-4.0.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-nios2/gcc-nios2-5.1.ebuild,v 1.3 2006/04/11 00:17:38 vapier Exp $ + +[[ ${CTARGET} != spu* && ${CATEGORY} == "sys-devel" ]] && export CTARGET="spu" + +GCC_A_FAKEIT="toolchain-3.2-src.tar.bz2" +export USE="nocxx -fortran -gcj -objc multilib" + +[[ ${CTARGET} == powerpc* ]] && \ + export USE="altivec nocxx -fortran -gcj -objc multilib" + +ETYPE="gcc-compiler" + +#SPLIT_SPECS=false +TOOLCHAIN_GCC_PV=4.0.2 +inherit toolchain eutils + +BSC_URI="http://www.bsc.es/projects/deepcomputing/linuxoncell/stable/toolchain" + +DESCRIPTION="Compiler for Cell SPU and PPU targets" +SRC_URI="${BSC_URI}/toolchain-3.2-src.tar.bz2 + ${BSC_URI}/ppu/toolchain-altivec-fix.diff + ${BSC_URI}/ppu/toolchain-convertible-revert.diff + ${BSC_URI}/ppu/toolchain-libiberty-merge.diff + ${BSC_URI}/ppu/toolchain-altivec-cmple-fix.diff + ${BSC_URI}/ppu/toolchain-m32-m64-multilib-only.diff + ${BSC_URI}/spu/toolchain-build-revert.diff + ${BSC_URI}/spu/toolchain-mfcio-stdint.diff" + +KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" + +DEPEND="=${CATEGORY}/binutils-2.17-r1" + +S=${WORKDIR}/toolchain/gcc + +src_unpack() { + local CELL_PATCHES="build-revert convertible-revert libiberty-merge + altivec-fix altivec-cmple-fix" + + toolchain_src_unpack + + [[ ${CTARGET} == spu* ]] && \ + CELL_PATCHES="${CELL_PATCHES} mfcio-stdint" + [[ ${CTARGET} == powerpc64* ]] && \ + CELL_PATCHES="${CELL_PATCHES} m32-m64-multilib-only" + + for pt in ${CELL_PATCHES} + do + epatch "${DISTDIR}/toolchain-${pt}.diff" + done +} |