summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-09-16 19:17:52 +0000
committerJustin Lecher <jlec@gentoo.org>2012-09-16 19:17:52 +0000
commitb8874ce3087c024f02f28334eef9007ebd09d272 (patch)
tree2743b8ab9e94d6ab48479ea1966b5e989b0e2e3e /dev-lang/icc
parentdev-libs/intel-common: Imported from sci overlay; new package containing comm... (diff)
downloadgentoo-2-b8874ce3087c024f02f28334eef9007ebd09d272.tar.gz
gentoo-2-b8874ce3087c024f02f28334eef9007ebd09d272.tar.bz2
gentoo-2-b8874ce3087c024f02f28334eef9007ebd09d272.zip
dev-lang/icc: Version bump, #347375; Drop oldwhich can't be fetch anymore; update HOMPAGE, #420321
(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/icc')
-rw-r--r--dev-lang/icc/ChangeLog9
-rw-r--r--dev-lang/icc/icc-11.1.072-r1.ebuild159
-rw-r--r--dev-lang/icc/icc-13.0.0.079.ebuild36
-rw-r--r--dev-lang/icc/metadata.xml26
4 files changed, 55 insertions, 175 deletions
diff --git a/dev-lang/icc/ChangeLog b/dev-lang/icc/ChangeLog
index 0b02e3e2a341..f5f45f6df78c 100644
--- a/dev-lang/icc/ChangeLog
+++ b/dev-lang/icc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/icc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.85 2012/06/06 03:14:06 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.86 2012/09/16 19:17:52 jlec Exp $
+
+*icc-13.0.0.079 (16 Sep 2012)
+
+ 16 Sep 2012; Justin Lecher <jlec@gentoo.org> -icc-11.1.072-r1.ebuild,
+ +icc-13.0.0.079.ebuild, metadata.xml:
+ Version bump, #347375; Drop oldwhich can't be fetch anymore; update HOMPAGE,
+ #420321
06 Jun 2012; Zac Medico <zmedico@gentoo.org> icc-11.1.072-r1.ebuild:
inherit multilib for get_libdir
diff --git a/dev-lang/icc/icc-11.1.072-r1.ebuild b/dev-lang/icc/icc-11.1.072-r1.ebuild
deleted file mode 100644
index 5212520c6ba6..000000000000
--- a/dev-lang/icc/icc-11.1.072-r1.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-11.1.072-r1.ebuild,v 1.4 2012/06/06 03:14:06 zmedico Exp $
-
-EAPI="3"
-
-inherit multilib rpm versionator check-reqs
-
-PB=cproc
-PACKAGEID="l_${PB}_p_${PV}"
-RELEASE="$(get_version_component_range 1-2)"
-BUILD="$(get_version_component_range 3)"
-PID=1768
-
-DESCRIPTION="Intel compiler suite for Linux"
-HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
-SRC_COM="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}"
-SRC_URI="amd64? ( ${SRC_COM}_intel64.tgz )
- ia64? ( ${SRC_COM}_ia64.tgz )
- x86? ( ${SRC_COM}_ia32.tgz )"
-
-LICENSE="Intel-SDP"
-SLOT="0"
-IUSE="eclipse +idb ipp mkl"
-KEYWORDS="~amd64 ~ia64 ~x86 ~amd64-linux ~x86-linux"
-
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="~virtual/libstdc++-3.3
- amd64? ( app-emulation/emul-linux-x86-compat )
- eclipse? ( >=dev-util/eclipse-sdk-3.4 )"
-
-DESTINATION="opt/intel/Compiler/${RELEASE}/${BUILD}"
-EDESTINATION="${EROOT#/}${DESTINATION}"
-
-QA_TEXTRELS="${EDESTINATION}/*"
-QA_EXECSTACK="${EDESTINATION}/*"
-QA_PRESTRIPPED="${EDESTINATION}/lib/*/.*libFNP.so ${EDESTINATION}/bin/*/.* ${EDESTINATION}/idb/*/*/.*"
-QA_DT_HASH="
- ${EDESTINATION}/bin/*/.*
- ${EDESTINATION}/lib/*/.*
- ${EDESTINATION}/mkl/lib/*/.*
- ${EDESTINATION}/mkl/benchmarks/mp_linpack/bin_intel/*/.*
- ${EDESTINATION}/idb/*/*/.*"
-
-pkg_setup() {
- CHECKREQS_MEMORY=1024
- CHECKREQS_DISK_BUILD=2048
- use idb && use ipp && use mkl && CHECKREQS_DISK_BUILD=3072
- check_reqs
- IARCH=ia32
- use amd64 && IARCH=intel64
- use ia64 && IARCH=ia64
-}
-
-src_unpack() {
- unpack ${A}
- mv "${WORKDIR}"/l_* "${S}"
- cd "${S}"
- # tbb is open source, thus built from sources in dev-cpp/tbb
- rm -f rpm/*tbb*.rpm
- use idb || rm -f rpm/*idb*.rpm
- use ipp || rm -f rpm/*ipp*.rpm
- use mkl || rm -f rpm/*mkl*.rpm
- use eclipse || rm -f rpm/*cdt*.rpm
- if has_version "~dev-lang/ifc-${PV}"; then
- rm -f rpm/*cprolib*.rpm
- use idb && has_version dev-lang/ifc[idb] && rm -f rpm/*idb*.rpm
- use mkl && has_version dev-lang/ifc[mkl] && rm -f rpm/*mkl*.rpm
- fi
- for x in rpm/intel*.rpm; do
- einfo "Extracting $(basename ${x})..."
- rpm_unpack ./${x} || die "rpm_unpack ${x} failed"
- done
-}
-
-link_eclipse_plugins() {
- ECLIPSE_V="$1"
- CDT_V="$2"
- einfo "Linking eclipse (v${ECLIPSE_V}) plugin cdt (v${CDT_V})"
- dodir /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins
- dodir /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features
-
- for f in "${DESTINATION}/eclipse_support/cdt${CDT_V}/eclipse/plugins"/*; do
- dosym "${EROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins
- done
-
- for f in "${DESTINATION}/eclipse_support/cdt${CDT_V}/eclipse/features"/*; do
- dosym "${EROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features
- done
- eend $?
-}
-
-src_prepare() {
- # from the PURGE_UB804_FNP in pset/install_cc.sh
- # rm -f "${DESTINATION}"/lib/*/*libFNP.so || die
-
- # extract the tag function from the original install
- sed -n \
- -e "s|find \$DESTINATION|find ${DESTINATION}|g" \
- -e "s|@\$DESTINATION|@${EROOT}${DESTINATION}|g" \
- -e '/^UNTAG_CFG_FILES[[:space:]]*(/,/^}/p' \
- pset/install_cc.sh > tag.sh || die
- # fix world writeable files
- [[ -d ${DESTINATION}/mkl ]] && chmod 644 \
- ${DESTINATION}/mkl/tools/{environment,builder}/* \
- ${DESTINATION}/mkl/tools/plugins/*/*
- # remove for collision (bug #288038)
- has_version "~dev-lang/ifc-${PV}" && \
- rm -f ${DESTINATION}/lib/*/locale/*/flexnet.cat
-}
-
-src_install() {
- einfo "Tagging"
- . ./tag.sh
- UNTAG_CFG_FILES
-
- keepdir /opt/intel/licenses
- einfo "Copying files"
- dodir "/${DESTINATION}"
- cp -pPR \
- ${DESTINATION}/* \
- "${ED}"/${DESTINATION}/ \
- || die "Copying ${PN} failed"
-
- local envf=05icfc
- cat > ${envf} <<-EOF
- PATH="${EROOT}${DESTINATION}/bin/${IARCH}"
- ROOTPATH="${EROOT}${DESTINATION}/bin/${IARCH}"
- LDPATH="${EROOT}${DESTINATION}/lib/${IARCH}:${EROOT}${DESTINATION}/idb/lib/${IARCH}"
- LIBRARY_PATH="${EROOT}${DESTINATION}/lib/${IARCH}:${EROOT}${DESTINATION}/idb/lib/${IARCH}"
- NLSPATH="${EROOT}${DESTINATION}/lib/locale/en_US/%N"
- MANPATH="${EROOT}${DESTINATION}/man/en_US"
- EOF
- if [[ ! -e "${EROOT}"etc/env.d/${envf} ]] ||
- [[ -n $(diff "${EROOT}"etc/env.d/${envf} ./${envf}) ]]; then
- doenvd ${envf} || die "doenvd ${envf} failed"
- fi
- [[ -d ${DESTINATION}/idb ]] && \
- dosym ../../common/com.intel.debugger.help_1.0.0 \
- ${DESTINATION}/idb/gui/${IARCH}/plugins
-
- if use eclipse; then
- if has_version 'dev-util/eclipse-sdk:3.4'; then
- link_eclipse_plugins "3.4" "5.0" || die
- fi
- if has_version 'dev-util/eclipse-sdk:3.5'; then
- link_eclipse_plugins "3.5" "6.0" || die
- fi
- fi
-}
-
-pkg_postinst() {
- elog "Make sure you have recieved an Intel license."
- elog "To receive a non-commercial license, you need to register at:"
- elog "http://software.intel.com/en-us/articles/non-commercial-software-development/"
- elog "Install the license file into ${EROOT}opt/intel/licenses."
-}
diff --git a/dev-lang/icc/icc-13.0.0.079.ebuild b/dev-lang/icc/icc-13.0.0.079.ebuild
new file mode 100644
index 000000000000..65b12cd8d1b1
--- /dev/null
+++ b/dev-lang/icc/icc-13.0.0.079.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-13.0.0.079.ebuild,v 1.1 2012/09/16 19:17:52 jlec Exp $
+
+EAPI=4
+
+INTEL_DPN=parallel_studio_xe
+INTEL_DID=2749
+INTEL_DPV=2013
+INTEL_SUBDIR=composerxe
+
+inherit intel-sdp
+
+DESCRIPTION="Intel C/C++ Compiler"
+HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
+
+IUSE="eclipse"
+
+DEPEND="
+ eclipse? ( dev-util/eclipse-sdk )"
+RDEPEND="${DEPEND}
+ ~dev-libs/intel-common-${PV}[compiler]"
+
+INTEL_BIN_RPMS="compilerproc compilerproc-devel"
+INTEL_DAT_RPMS="compilerproc-common"
+
+src_install() {
+ intel-sdp_src_install
+ local i
+ local idir=${INTEL_SDP_EDIR}/compiler/lib
+ for i in ${idir}/{ia32,intel64}/locale/ja_JP/{diagspt,flexnet,helpxi}.cat; do
+ if [[ -e "${i}" ]]; then
+ rm -rvf "${D}${i}" || die
+ fi
+ done
+}
diff --git a/dev-lang/icc/metadata.xml b/dev-lang/icc/metadata.xml
index ab3f84002d75..7235f92cf075 100644
--- a/dev-lang/icc/metadata.xml
+++ b/dev-lang/icc/metadata.xml
@@ -1,15 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-
<pkgmetadata>
-<maintainer>
- <email>bicatali@gentoo.org</email>
-</maintainer>
-<maintainer>
- <email>weaver@gentoo.org</email>
- <name>Andrey Kislyuk</name>
-</maintainer>
-<longdescription lang="en">
+ <maintainer>
+ <email>bicatali@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <longdescription lang="en">
The Intel® C++ Compiler is a full featured C/C++ compiler for Intel
based architectures. The compiler supports multi-threading, automatic
processor dispatch, vectorization, auto-parallelization, OpenMP, data
@@ -17,10 +16,7 @@
documentation. The product can be installed as a non-commercial as
well. License, terms of qualifications can be found on the web site.
</longdescription>
-<use>
- <flag name='eclipse'>Install the <pkg>dev-util/eclipse-sdk</pkg> plugins</flag>
- <flag name='idb'>Install the Intel Debugger</flag>
- <flag name='mkl'>Install the Intel Math Kernel Library</flag>
- <flag name='ipp'>Install the Intel Integrated Primitive</flag>
-</use>
+ <use>
+ <flag name="eclipse">Install the <pkg>dev-util/eclipse-sdk</pkg> plugins</flag>
+ </use>
</pkgmetadata>