From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/intel-common/
Date: Fri, 19 Feb 2016 10:12:19 +0000 (UTC) [thread overview]
Message-ID: <1455875770.32f3599a4b973e447a52d25d093322b97e2af251.jlec@gentoo> (raw)
commit: 32f3599a4b973e447a52d25d093322b97e2af251
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 16 23:47:48 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 09:56:10 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=32f3599a
dev-libs/intel-common: Match new variables, remove ${INTEL_SINGLE_ARCH}
Package-Manager: portage-2.2.27
.../intel-common/intel-common-16.0.1.150.ebuild | 137 -------------------
.../intel-common/intel-common-16.0.2.181.ebuild | 150 +++++++++++++++++++++
dev-libs/intel-common/metadata.xml | 3 +
3 files changed, 153 insertions(+), 137 deletions(-)
diff --git a/dev-libs/intel-common/intel-common-16.0.1.150.ebuild b/dev-libs/intel-common/intel-common-16.0.1.150.ebuild
deleted file mode 100644
index 89a2e09..0000000
--- a/dev-libs/intel-common/intel-common-16.0.1.150.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-INTEL_DPN=parallel_studio_xe
-INTEL_DID=8365
-INTEL_DPV=2016_update1
-INTEL_SUBDIR=compilers_and_libraries
-INTEL_SINGLE_ARCH=false
-
-inherit intel-sdp-r1
-
-DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
-HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
-
-IUSE="+compiler doc examples mpi openmp linguas_ja"
-KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-CHECKREQS_DISK_BUILD=375M
-
-INTEL_BIN_RPMS=()
-INTEL_DAT_RPMS=(
- "ccompxe-2016.1-056.noarch.rpm"
- "comp-l-all-common"
- "comp-l-all-vars"
- "comp-l-ps-common"
- "comp-ps-ss-doc-16.0.1-150.noarch.rpm")
-INTEL_X86_RPMS=(
- "comp-l-all-32"
- "comp-l-ps-ss-wrapper")
-INTEL_AMD64_RPMS=()
-
-pkg_setup() {
- if use doc; then
- INTEL_DAT_RPMS+=(
- "ccompxe-doc-2016.1-056.noarch.rpm")
-
- if use linguas_ja; then
- INTEL_DAT_RPMS+=(
- "comp-ps-doc-jp-16.0.1-150.noarch.rpm")
- fi
- fi
-
- if use examples; then
- INTEL_DAT_RPMS+=(
- "ccomp-doc-2016.1-056.noarch.rpm")
- fi
-
- if use mpi; then
- INTEL_X86_RPMS+=(
- "mpirt-l-ps-150-16.0.1-150.i486.rpm")
- INTEL_AMD64_RPMS+=(
- "mpi-psxe-056-5.1.2-056.x86_64.rpm"
- "mpi-rt-core-150-5.1.2-150.x86_64.rpm"
- "mpi-rt-core-150-5.1.2-150.x86_64.rpm"
- "mpi-rt-mic-150-5.1.2-150.x86_64.rpm"
- "mpi-sdk-core-150-5.1.2-150.x86_64.rpm"
- "mpi-sdk-mic-150-5.1.2-150.x86_64.rpm")
-
- if use doc; then
- INTEL_AMD64_RPMS+=(
- "mpi-doc-5.1.2-150.x86_64.rpm")
- fi
- fi
-
- if use openmp; then
- INTEL_BIN_RPMS+=(
- "openmp-l-all"
- "openmp-l-ps")
- INTEL_AMD64_RPMS+=(
- "openmp-l-ps-ss"
- "openmp-l-ps-mic")
-
- if use compiler; then
- INTEL_BIN_RPMS+=(
- "openmp-l-all-devel")
- INTEL_AMD64_RPMS+=(
- "openmp-l-ps-devel"
- "openmp-l-ps-ss-devel"
- "openmp-l-ps-mic-devel")
-
- if use linguas_ja; then
- INTEL_AMD64_RPMS+=(
- "openmp-l-ps-devel-jp"
- "openmp-l-ps-mic-devel-jp")
- fi
- fi
-
- if use linguas_ja; then
- INTEL_X86_RPMS+=(
- "openmp-l-ps-jp")
- fi
- fi
-
- if use compiler; then
- INTEL_BIN_RPMS+=(
- "comp-l-all-devel"
- "comp-l-ps-ss-devel")
- INTEL_AMD64_RPMS+=(
- "comp-l-ps-devel")
- fi
- intel-sdp-r1_pkg_setup
-}
-
-src_install() {
- intel-sdp-r1_src_install
- local path rootpath ldpath arch fenv=35intelsdp
- cat > ${fenv} <<-EOF
- NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N
- INTEL_LICENSE_FILE="${EPREFIX}/opt/intel/license:${INTEL_SDP_EDIR}/licenses:"
- EOF
- for arch in ${INTEL_ARCH}; do
- path=${path}:${INTEL_SDP_EDIR}/linux/bin/${arch}
- rootpath=${rootpath}:${INTEL_SDP_EDIR}/linux/bin/${arch}
- ldpath=${ldpath}:${INTEL_SDP_EDIR}/linux/compiler/lib/${arch}
- done
- if use mpi && use amd64; then
- path=${path}:${INTEL_SDP_EDIR}/linux/mpi/intel64/bin/
- rootpath=${rootpath}:${INTEL_SDP_EDIR}/linux/mpi/intel64/bin/
- ldpath=${ldpath}:${INTEL_SDP_EDIR}/linux/mpi/intel64/lib/
- fi
- cat >> ${fenv} <<-EOF
- PATH=${path#:}
- ROOTPATH=${rootpath#:}
- LDPATH=${ldpath#:}
- EOF
-
- doenvd ${fenv}
-
- cat >> "${T}"/40-${PN} <<- EOF
- SEARCH_DIRS_MASK="${INTEL_SDP_EDIR}"
- EOF
- insinto /etc/revdep-rebuild/
- doins "${T}"/40-${PN}
-}
diff --git a/dev-libs/intel-common/intel-common-16.0.2.181.ebuild b/dev-libs/intel-common/intel-common-16.0.2.181.ebuild
new file mode 100644
index 0000000..82a1424
--- /dev/null
+++ b/dev-libs/intel-common/intel-common-16.0.2.181.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+INTEL_DIST_SKU=8676
+INTEL_DIST_PV=2016_update2
+
+inherit intel-sdp-r1
+
+DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
+HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
+
+IUSE="+compiler doc examples mic mpi openmp linguas_ja"
+KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
+REQUIRED_USE="mic? ( openmp )"
+
+CHECKREQS_DISK_BUILD=750M
+
+INTEL_DIST_BIN_RPMS=()
+INTEL_DIST_DAT_RPMS=(
+ "ccompxe-2016.2-062.noarch.rpm"
+ "comp-l-all-common"
+ "comp-l-all-vars"
+ "comp-l-ps-common"
+ "comp-ps-ss-doc-16.0.2-181.noarch.rpm")
+INTEL_DIST_X86_RPMS=(
+ "comp-l-all-32"
+ "comp-l-ps-ss-wrapper")
+INTEL_DIST_AMD64_RPMS=()
+
+pkg_setup() {
+ if use doc; then
+ INTEL_DIST_DAT_RPMS+=(
+ "ccompxe-doc-2016.2-062.noarch.rpm")
+
+ if use linguas_ja; then
+ INTEL_DIST_DAT_RPMS+=(
+ "comp-ps-doc-jp-16.0.2-181.noarch.rpm")
+ fi
+ fi
+
+ if use examples; then
+ INTEL_DIST_DAT_RPMS+=(
+ "ccomp-doc-2016.2-062.noarch.rpm")
+ fi
+
+ if use mpi; then
+ INTEL_DIST_X86_RPMS+=(
+ "mpirt-l-ps-181-16.0.2-181.i486.rpm")
+ INTEL_DIST_AMD64_RPMS+=(
+ "mpi-psxe-062-5.1.3-062.x86_64.rpm"
+ "mpi-rt-core-181-5.1.3-181.x86_64.rpm"
+ "mpi-sdk-core-181-5.1.3-181.x86_64.rpm"
+ )
+
+ if use mic; then
+ INTEL_DIST_AMD64_RPMS+=(
+ "mpi-rt-mic-181-5.1.3-181.x86_64.rpm"
+ "mpi-sdk-mic-181-5.1.3-181.x86_64.rpm")
+ fi
+
+ if use doc; then
+ INTEL_DIST_AMD64_RPMS+=(
+ "mpi-doc-5.1.3-181.x86_64.rpm")
+ fi
+ fi
+
+ if use openmp; then
+ INTEL_DIST_BIN_RPMS+=(
+ "openmp-l-all"
+ "openmp-l-ps")
+ INTEL_DIST_AMD64_RPMS+=(
+ "openmp-l-ps-ss")
+
+ if use mic; then
+ INTEL_DIST_AMD64_RPMS+=(
+ "openmp-l-ps-mic")
+ fi
+
+ if use compiler; then
+ INTEL_DIST_BIN_RPMS+=(
+ "openmp-l-all-devel")
+ INTEL_DIST_AMD64_RPMS+=(
+ "openmp-l-ps-devel"
+ "openmp-l-ps-ss-devel")
+
+ if use linguas_ja; then
+ INTEL_DIST_AMD64_RPMS+=(
+ "openmp-l-ps-devel-jp")
+
+ if use mic; then
+ INTEL_DIST_AMD64_RPMS+=(
+ "openmp-l-ps-mic-devel-jp")
+ fi
+ fi
+
+ if use mic; then
+ INTEL_DIST_AMD64_RPMS+=(
+ "openmp-l-ps-mic-devel")
+ fi
+ fi
+
+ if use linguas_ja; then
+ INTEL_DIST_X86_RPMS+=(
+ "openmp-l-ps-jp")
+ fi
+ fi
+
+ if use compiler; then
+ INTEL_DIST_BIN_RPMS+=(
+ "comp-l-all-devel"
+ "comp-l-ps-ss-devel")
+ INTEL_DIST_AMD64_RPMS+=(
+ "comp-l-ps-devel")
+ fi
+}
+
+src_install() {
+ intel-sdp-r1_src_install
+ local path rootpath ldpath arch fenv=35intelsdp
+ cat > ${fenv} <<-EOF
+ NLSPATH=$(isdp_get-sdp-edir)/linux/compiler/lib/$(isdp_get-native-abi-arch)/locale/en_US/%N
+ INTEL_LICENSE_FILE=${EPREFIX%/}/opt/intel/licenses:$(isdp_get-sdp-edir)/licenses
+ EOF
+ for arch in $(isdp_get-sdp-installed-arches); do
+ path="${path}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
+ rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
+ ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/compiler/lib/${arch}"
+ done
+ if use mpi && use amd64; then
+ path="${path}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
+ rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
+ ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/lib/"
+ fi
+ cat >> ${fenv} <<-EOF
+ PATH=${path#:}
+ ROOTPATH=${rootpath#:}
+ LDPATH=${ldpath#:}
+ EOF
+
+ doenvd ${fenv}
+
+ cat >> "${T}"/40-${PN} <<- EOF
+ SEARCH_DIRS_MASK=$(isdp_get-sdp-edir)
+ EOF
+ insinto /etc/revdep-rebuild/
+ doins "${T}"/40-${PN}
+}
diff --git a/dev-libs/intel-common/metadata.xml b/dev-libs/intel-common/metadata.xml
index 7e7298d..b4d319f 100644
--- a/dev-libs/intel-common/metadata.xml
+++ b/dev-libs/intel-common/metadata.xml
@@ -12,4 +12,7 @@
<use>
<flag name="compiler">Install the libraries needed for the icc and ifort compilers</flag>
</use>
+ <use>
+ <flag name="mic">Install the libraries needed for supporting Intel Many Integrated Core (Xeon Phi)</flag>
+ </use>
</pkgmetadata>
next reply other threads:[~2016-02-19 10:12 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-19 10:12 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-30 14:55 [gentoo-commits] proj/sci:master commit in: dev-libs/intel-common/ Andrew Ammerlaan
2020-05-05 6:30 Matthias Maier
2019-05-25 6:36 Matthias Maier
2019-05-22 16:18 Horea Christian
2018-04-03 16:44 Matthias Maier
2018-04-03 16:44 Matthias Maier
2018-04-03 3:52 Matthias Maier
2018-01-27 12:24 Justin Lecher
2016-02-19 9:27 Justin Lecher
2016-02-15 8:19 Justin Lecher
2016-02-15 8:19 Justin Lecher
2012-12-10 21:29 Justin Lecher
2012-11-27 19:33 Justin Lecher
2012-11-27 19:33 Justin Lecher
2012-10-07 9:18 Justin Lecher
2012-09-20 12:45 Justin Lecher
2012-02-16 22:35 Sebastien Fabbro
2011-10-25 17:16 Justin Lecher
2011-05-28 11:50 Justin Lecher
2011-05-28 7:49 Justin Lecher
2011-05-19 7:21 Justin Lecher
2011-05-19 6:31 Justin Lecher
2011-05-19 5:56 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455875770.32f3599a4b973e447a52d25d093322b97e2af251.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox