public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/intel-common/
Date: Sat, 25 May 2019 06:36:15 +0000 (UTC)	[thread overview]
Message-ID: <1558766162.fa2625ab33b84ab328dfa68a5a30b3071faf6c04.tamiko@gentoo> (raw)

commit:     fa2625ab33b84ab328dfa68a5a30b3071faf6c04
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 20:23:54 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat May 25 06:36:02 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=fa2625ab

dev-libs/intel-common: version bump to 19.0.4.243

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../intel-common/intel-common-19.0.4.243.ebuild    | 101 +++++++++++++++++++++
 1 file changed, 101 insertions(+)

diff --git a/dev-libs/intel-common/intel-common-19.0.4.243.ebuild b/dev-libs/intel-common/intel-common-19.0.4.243.ebuild
new file mode 100644
index 000000000..f565b434b
--- /dev/null
+++ b/dev-libs/intel-common/intel-common-19.0.4.243.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+INTEL_DIST_PV=2019_update4_professional_edition
+
+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 +mpi +openmp"
+KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+SLOT="0"
+
+MY_PV=$(ver_rs 3 '-')  # 19.0.3-199
+MY_PV2=$(ver_cut 1-2)  # 19.0
+MY_PV3='20'$(ver_cut 1)  # 2019
+MY_PV4="${MY_PV3}."$(ver_cut 3)'-'$(ver_cut 4)  # 2019.3-199
+
+CHECKREQS_DISK_BUILD=750M
+
+INTEL_DIST_BIN_RPMS=()
+INTEL_DIST_DAT_RPMS=(
+	"c-comp-common-${MY_PV}-${MY_PV}.noarch.rpm"
+	"comp-l-all-common-${MY_PV}-${MY_PV}.noarch.rpm"
+	"comp-l-all-vars-${MY_PV}-${MY_PV}.noarch.rpm"
+	"comp-nomcu-vars-${MY_PV}-${MY_PV}.noarch.rpm")
+INTEL_DIST_X86_RPMS=(
+	"comp-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
+	"comp-ps-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
+	"comp-ps-ss-bec-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
+INTEL_DIST_AMD64_RPMS=(
+	"comp-${MY_PV}-${MY_PV}.x86_64.rpm"
+	"comp-ps-${MY_PV}-${MY_PV}.x86_64.rpm"
+	"comp-ps-ss-${MY_PV}-${MY_PV}.x86_64.rpm"
+	"comp-ps-ss-bec-${MY_PV}-${MY_PV}.x86_64.rpm")
+
+pkg_setup() {
+	if use doc; then
+		INTEL_DIST_DAT_RPMS+=( "comp-doc-${MY_PV2}-${MY_PV}.noarch.rpm" )
+	fi
+
+	if use mpi; then
+		INTEL_DIST_AMD64_RPMS+=( "mpi-rt-${MY_PV4}-${MY_PV4}.x86_64.rpm" )
+
+		if use doc; then
+			INTEL_DIST_DAT_RPMS+=( "mpi-doc-${MY_PV3}-${MY_PV4}.x86_64.rpm" )
+		fi
+	fi
+
+	if use openmp; then
+		INTEL_DIST_DAT_RPMS+=( "openmp-common-${MY_PV}-${MY_PV}.noarch.rpm" )
+		INTEL_DIST_AMD64_RPMS+=( "openmp-${MY_PV}-${MY_PV}.x86_64.rpm" )
+		INTEL_DIST_X86_RPMS+=( "openmp-32bit-${MY_PV}-${MY_PV}.x86_64.rpm" )
+
+		if use compiler; then
+			INTEL_DIST_DAT_RPMS+=(
+				"openmp-common-icc-${MY_PV}-${MY_PV}.noarch.rpm"
+				"openmp-common-ifort-${MY_PV}-${MY_PV}.noarch.rpm")
+			INTEL_DIST_AMD64_RPMS+=(
+				"openmp-ifort-${MY_PV}-${MY_PV}.x86_64.rpm")
+			INTEL_DIST_X86_RPMS+=(
+				"openmp-ifort-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
+		fi
+	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}
+}


             reply	other threads:[~2019-05-25  6:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-25  6:36 Matthias Maier [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-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 10:12 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=1558766162.fa2625ab33b84ab328dfa68a5a30b3071faf6c04.tamiko@gentoo \
    --to=tamiko@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