diff options
author | Matthias Maier <tamiko@gentoo.org> | 2020-05-04 23:06:48 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2020-05-05 01:04:39 -0500 |
commit | 3574bd0d0f39e3dd4a198fd46f0ff0acb75ce4d3 (patch) | |
tree | 3afde31266bb630d5b85740bdb735da73c86408a | |
parent | sci-lib/symengine: remove package; in main tree (diff) | |
download | sci-3574bd0d.tar.gz sci-3574bd0d.tar.bz2 sci-3574bd0d.zip |
dev-libs/intel-common: version bump to 2020 update 1
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
-rw-r--r-- | dev-libs/intel-common/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/intel-common/intel-common-19.1.1.217.ebuild | 102 |
2 files changed, 103 insertions, 0 deletions
diff --git a/dev-libs/intel-common/Manifest b/dev-libs/intel-common/Manifest index 0b9e8e4ee..21dea448d 100644 --- a/dev-libs/intel-common/Manifest +++ b/dev-libs/intel-common/Manifest @@ -1,3 +1,4 @@ DIST parallel_studio_xe_2018_update2_professional_edition.tgz 3877755304 BLAKE2B c8852df23abf080f482002a37af7781b3fbae3ecec448914ea5a237fa2b925073d1a3dc2dd94ba64002ff0f6c7e9b18b25fa7ada811a83b10344eb9b92cb37ff SHA512 a9b644b0305d83a9d0daa14d146cb3ce79949db55a410afe48d62259414e6256d9ef533a04bb50807103511db2016c4abcbbf769146854a25638f402a6d0f2be DIST parallel_studio_xe_2019_update3_professional_edition.tgz 4777019188 BLAKE2B 1ebbc23d1370bb396b452dc73d4a79b4ea7be0e304e3d38b3cba77372df6af097ea1109535d166b56a6c50e28e3330a1ed49c6a9270411b14ccf48f32a9eaedd SHA512 622b1a8877f06247a0a93cb98d2cc6d5b359aa2c9cf7ff6f45a8e1dca34fecea10d603d632a7b3454d809d6e38cb860b40ae3f782e250279768937af6ceb015d DIST parallel_studio_xe_2019_update4_professional_edition.tgz 2629662464 BLAKE2B a5619f33535063ccd7310378504ca960aa8512527cef7e0884fae5570633c1823e50ff7135adbbc571b4d47e0b6fcc01afe8639e09feb50a7f289eeec3f61ca0 SHA512 d8f6780a3671f30a1bad5d3a9792062c73b31188dc31fbd38212e98abc593f1c8f64bb970a8a4fce9ce237afef18ed38adf8fd81aa73b63ec964224590d4a34d +DIST parallel_studio_xe_2020_update1_professional_edition.tgz 2783012958 BLAKE2B 975103ec4551a0e3bd84034ce771a5fc459d5de47f4247b5915b54d9c827e50e913f9054a103424b764f730190675d42b52a97e68551b34df6b3d8d9b922517a SHA512 00a3334bcdb8b30216ecb40fcfc709b27d043697606a53f522c90b05cf8598e1e60311d629ec17b6fe1016a7d2a27f4b428abddc9eba39badebfd8a9b53de404 diff --git a/dev-libs/intel-common/intel-common-19.1.1.217.ebuild b/dev-libs/intel-common/intel-common-19.1.1.217.ebuild new file mode 100644 index 000000000..030b4877c --- /dev/null +++ b/dev-libs/intel-common/intel-common-19.1.1.217.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +INTEL_DIST_PV=2020_update1_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.1.1-217 +MY_PV2="$(ver_cut 1-2)" # 19.1 +MY_PV3="2019" # 2019 +MY_PV4="${MY_PV3}.7-$(ver_cut 4)" # 2019.7-217 sic! + +CHECKREQS_DISK_BUILD=750M + +QA_PREBUILT="*" + +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-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} +} |