summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2004-02-07 23:03:11 +0000
committerDaniel Robbins <drobbins@gentoo.org>2004-02-07 23:03:11 +0000
commit97c97c76a4bb5a6efdae5cb395ed1e4cca667608 (patch)
tree1754faaf93c76a6024e1858fe82f4f1a8e9f16c1 /dev-lang/icc
parentcleanup (diff)
downloadhistorical-97c97c76a4bb5a6efdae5cb395ed1e4cca667608.tar.gz
historical-97c97c76a4bb5a6efdae5cb395ed1e4cca667608.tar.bz2
historical-97c97c76a4bb5a6efdae5cb395ed1e4cca667608.zip
icc8 for beaver challenge
Diffstat (limited to 'dev-lang/icc')
-rw-r--r--dev-lang/icc/ChangeLog11
-rw-r--r--dev-lang/icc/Manifest36
-rw-r--r--dev-lang/icc/icc-8.0.055.ebuild130
3 files changed, 161 insertions, 16 deletions
diff --git a/dev-lang/icc/ChangeLog b/dev-lang/icc/ChangeLog
index c25eb53b1fa9..a792e9811a4d 100644
--- a/dev-lang/icc/ChangeLog
+++ b/dev-lang/icc/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-lang/icc
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.20 2003/10/15 18:52:23 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.21 2004/02/07 23:03:11 drobbins Exp $
+
+*icc-8.0.055 (07 Feb 2004)
+
+ 07 Feb 2004; Daniel Robbins <drobbins@gentoo.org> icc-8.0.055.ebuild:
+ New ebuild, partially rewritten from bug #35602. This ebuild is still
+ "iffy" and needs some work as I'm trying to get back to the rpm eclass
+ but haven't incorporated fixes from the most recent ebuild submission
+ on bugzilla. Thanks to Jeremy Warren for this ebuild as well as
+ everyone who helped.
15 Oct 2003; Jon Portnoy <avenj@gentoo.org> icc-7.1.030.ebuild :
Fix rpm_unpack call again.
diff --git a/dev-lang/icc/Manifest b/dev-lang/icc/Manifest
index edb45d2e7ab3..900ec39492ee 100644
--- a/dev-lang/icc/Manifest
+++ b/dev-lang/icc/Manifest
@@ -1,8 +1,24 @@
-MD5 b10d5f0e2cf2393977007cf31b6d413a files/6.0/05icc 225
+MD5 196c731f3a8c57f18eb4a892262e5234 icc-8.0.055.ebuild 4120
+MD5 ccd677c4921873c05964b44ba41f9911 icc-7.1.029.ebuild 3795
+MD5 9d24368640b754755be7c13c1d8c0179 icc-7.1.006.ebuild 3733
+MD5 aea33ac92805a2e94241ee9ab6cb00ce icc-6.0-r1.ebuild 3138
+MD5 a28df65b5923b0e0b4f0d90113059bc6 icc-7.0.065-r1.ebuild 3232
+MD5 175b8f6008e3b6903a811a897c0d2b17 icc-7.1.030.ebuild 3931
+MD5 ffd8deaee5f083991409d31756239fcd icc-6.0.ebuild 2938
+MD5 410549531a2435f93f5f721eaed1b18d ChangeLog 4329
+MD5 a4ccaa91eb610c2730c9698c20ffa4da metadata.xml 294
+MD5 d9c62043a4790f5fa5e2f1e49535cdea icc-7.0.065-r2.ebuild 3232
+MD5 51a83b60c5329c03984767f72ef606c0 icc-7.0.065.ebuild 3179
MD5 16cb4482e4303fd7d5308782b494463d files/digest-icc-6.0 65
+MD5 451c1e8d20f20a97589c32edecbb422c files/digest-icc-8.0.055 68
MD5 c46212d7aef8d7109e315c11305f0869 files/digest-icc-7.0.065-r1 65
MD5 90412c57cdaf14d472fe7bcc10ac9656 files/digest-icc-7.0.065-r2 643
MD5 16cb4482e4303fd7d5308782b494463d files/digest-icc-6.0-r1 65
+MD5 c46212d7aef8d7109e315c11305f0869 files/digest-icc-7.0.065 65
+MD5 5a2e5b03d1de761f8b08ef35070687be files/digest-icc-7.1.006 65
+MD5 f0532a3a488413710b77fe50c5129ffc files/digest-icc-7.1.029 66
+MD5 6163449bc5b6528112995c347c4de85a files/digest-icc-7.1.030 66
+MD5 b10d5f0e2cf2393977007cf31b6d413a files/6.0/05icc 225
MD5 0f9e31cf2e796e982b200b3a04038abd files/7.0.065-r1/icc 246
MD5 f498ef092cdd40c2b20d4a80a93d7437 files/7.0.065-r1/05icc-ifc 225
MD5 0f9e31cf2e796e982b200b3a04038abd files/7.0.065-r2/icc 246
@@ -16,17 +32,7 @@ MD5 4e87c3639fd26a60c8d5c2e59893d3f3 files/7.1.029/05icc-ifc-ia32 264
MD5 5ff26d89e4874fd86fa2a43ac3d593d8 files/7.1.029/05icc-ifc-ia64 264
MD5 0f9e31cf2e796e982b200b3a04038abd files/7.1.029/icc-ia32 246
MD5 b10d5f0e2cf2393977007cf31b6d413a files/6.0-r1/05icc-ifc 225
-MD5 c46212d7aef8d7109e315c11305f0869 files/digest-icc-7.0.065 65
-MD5 5a2e5b03d1de761f8b08ef35070687be files/digest-icc-7.1.006 65
-MD5 f0532a3a488413710b77fe50c5129ffc files/digest-icc-7.1.029 66
-MD5 6163449bc5b6528112995c347c4de85a files/digest-icc-7.1.030 66
-MD5 ccd677c4921873c05964b44ba41f9911 icc-7.1.029.ebuild 3795
-MD5 9d24368640b754755be7c13c1d8c0179 icc-7.1.006.ebuild 3733
-MD5 aea33ac92805a2e94241ee9ab6cb00ce icc-6.0-r1.ebuild 3138
-MD5 a28df65b5923b0e0b4f0d90113059bc6 icc-7.0.065-r1.ebuild 3232
-MD5 175b8f6008e3b6903a811a897c0d2b17 icc-7.1.030.ebuild 3931
-MD5 ffd8deaee5f083991409d31756239fcd icc-6.0.ebuild 2938
-MD5 365841de426972cfa6bdc2286c80e0b6 ChangeLog 3919
-MD5 a4ccaa91eb610c2730c9698c20ffa4da metadata.xml 294
-MD5 d9c62043a4790f5fa5e2f1e49535cdea icc-7.0.065-r2.ebuild 3232
-MD5 51a83b60c5329c03984767f72ef606c0 icc-7.0.065.ebuild 3179
+MD5 0fff0e3906e80a6f3211ddd1c2dfb226 files/8.0.055/icc 156
+MD5 69a2a9441333847a134d54a062401a6c files/8.0.055/icpc 157
+MD5 389113e875524af9b87e4073226bd00e files/8.0.055/iccifc.conf 868
+MD5 6c420a8540b22f20a7d5799519ef1b7f files/8.0.055/05icc-ifc 216
diff --git a/dev-lang/icc/icc-8.0.055.ebuild b/dev-lang/icc/icc-8.0.055.ebuild
new file mode 100644
index 000000000000..b0a4e84f6303
--- /dev/null
+++ b/dev-lang/icc/icc-8.0.055.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-8.0.055.ebuild,v 1.1 2004/02/07 23:03:11 drobbins Exp $
+
+inherit rpm
+
+S=${WORKDIR}
+
+DESCRIPTION="Intel C++ Compiler - Intel's Pentium optimized compiler for Linux"
+
+SRC_BASE="l_cc_p_8.0.055"
+SRC_PACK="${SRC_BASE}.tar.gz"
+SRC_URI1="ftp://download.intel.com/software/products/compilers/downloads/${SRC_PACK}"
+SRC_URI2="ftp://download.intel.co.jp/software/products/compilers/downloads/${SRC_PACK}"
+SRC_URI="${SRC_URI1} ${SRC_URI2}"
+# Both IA32 and IA64 can be installed here since all files have a distinct name.
+INSTALL_DIR="/opt/intel/compiler80"
+
+HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
+
+LICENSE="icc-7.0"
+
+DEPEND=">=sys-libs/glibc-2.2.5"
+
+SLOT="8"
+KEYWORDS="~ia64 ~x86"
+IUSE=""
+
+RESTRICT="nostrip"
+
+src_unpack() {
+ unpack ${SRC_PACK}
+ cd ${WORKDIR}/${SRC_BASE}
+
+ # Only use our architecture
+ if [ "$ARCH" = "x86" ]
+ then
+ rm -f intel-*.ia64.rpm
+ else
+ rm -f intel-*.i386.rpm
+ fi
+
+ for x in *.rpm
+ do
+ # WORKDIR must be set properly for rpm_unpack()
+ rpm_unpack ${WORKDIR}/${SRC_BASE}/${x}
+ done
+}
+
+src_compile() {
+ # From UNTAG_CFG_FILES() in 'install.sh'
+ # Keep the Fortran bits(...)
+ for FILE in $(find ${S}/opt/intel_*/bin/ -regex '.*[ei](cc|fort|fc|cpc)$\|.*cfg$\|.*pcl$\|.*vars[^/]*.c?sh$' 2>/dev/null)
+ do
+ sed s@\<INSTALLDIR\>@${INSTALL_DIR}@g ${FILE} > ${FILE}.abs
+ mv -f ${FILE}.abs ${FILE}
+ chmod 755 ${FILE}
+ done
+
+ # == SRC_BASE
+ eval `grep "^[ ]*PACKAGEID=" ${SRC_BASE}/install.sh`
+
+ # From UNTAG_SUPPORT() in 'install.sh'
+ SUPPORTFILE=${S}/opt/intel_cc_80/doc/csupport
+ if [ -f ${SUPPORTFILE} ]
+ then
+ einfo "Untagging: ${SUPPORTFILE}"
+ sed s@\<installpackageid\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
+ mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
+ chmod 644 ${SUPPORTFILE}
+ fi
+
+ # From UNTAG_SUPPORT_IDB() in 'install.sh'
+ SUPPORTFILE=${S}/opt/intel_idb_73/doc/idbsupport
+ if [ -f ${SUPPORTFILE} ]
+ then
+ einfo "Untagging: ${SUPPORTFILE}"
+ sed s@\<INSTALLTIMECOMBOPACKAGEID\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
+ mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
+ chmod 644 ${SUPPORTFILE}
+ fi
+
+ # These should not be executable
+ find "${S}/opt/intel_cc_80/"{doc,man,include} -type f -exec chmod -x "{}" ";"
+ find "${S}/opt/intel_cc_80/lib" -name \*.a -exec chmod -x "{}" ";"
+ find "${S}/opt/intel_idb_73/"{doc,man} -type f -exec chmod -x "{}" ";"
+}
+
+src_install () {
+ dodoc ${SRC_BASE}/lgpltext
+ dodoc ${SRC_BASE}/clicense
+ install -d ${D}/${INSTALL_DIR}
+ cp -a opt/intel_cc_80/* ${D}/${INSTALL_DIR}
+ cp -a opt/intel_idb_73/* ${D}/${INSTALL_DIR}
+ insinto /etc/env.d
+ doins ${FILESDIR}/${PVR}/05icc-ifc || die
+ exeinto /opt/intel/compiler80/bin
+ doexe ${FILESDIR}/${PVR}/icc
+ doexe ${FILESDIR}/${PVR}/icpc
+}
+
+pkg_postinst () {
+ einfo "http://www.intel.com/software/products/compilers/clin/noncom.htm"
+ einfo "From the above url you can get a free, non-commercial"
+ einfo "license to use the Intel C++ Compiler emailed to you."
+ einfo "You cannot run icc without this license file."
+ einfo "Read the website for more information on this license."
+ einfo
+ einfo "Documentation can be found in ${INSTALL_DIR}/doc/"
+ einfo
+ einfo "You will need to place your license in ${INSTALL_DIR}/licenses/"
+ einfo
+
+ ewarn
+ ewarn "Packages compiled with versions of icc older than 8.0 will need"
+ ewarn "to be recompiled. Until you do that, old packages will"
+ ewarn "work if you edit /etc/ld.so.conf and change '${INSTALL_DIR}'"
+ ewarn "to '/opt/intel/compiler70' and run 'ldconfig.' Note that this edit"
+ ewarn "won't persist and will require you to re-edit after each"
+ ewarn "package you re-install."
+ ewarn "BEFORE COMPILING IMPORTANT APPLICATIONS THAT YOUR"
+ ewarn "SYSTEM DEPENDS ON, READ THE WARNING ABOVE."
+ ewarn "THIS COULD RENDER YOUR SYSTEM UNUSABLE."
+ ewarn "THIS IS A PROBLEM WITH INTEL'S SOFTWARE, _NOT_"
+ ewarn "WITH GENTOO."
+
+ ewarn "If 'icc' breaks, use 'iccbin' instead and report a bug."
+ ewarn "Please use 'source /etc/profile' prior to merging any icc-enabled"
+ ewarn "ebuilds."
+}