From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 195BA138335 for ; Wed, 22 May 2019 16:18:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CFFBE0897; Wed, 22 May 2019 16:18:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4344E0897 for ; Wed, 22 May 2019 16:18:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DE59344E2A for ; Wed, 22 May 2019 16:18:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 952A75E3 for ; Wed, 22 May 2019 16:18:26 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1558541864.87b52a55dc7be942f0ca4011bb120a7d65c9802e.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/intel-common/ X-VCS-Repository: proj/sci X-VCS-Files: dev-libs/intel-common/intel-common-19.0.3.199-r1.ebuild X-VCS-Directories: dev-libs/intel-common/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 87b52a55dc7be942f0ca4011bb120a7d65c9802e X-VCS-Branch: master Date: Wed, 22 May 2019 16:18:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2b22305d-926c-4f4e-b004-6dcc9f984151 X-Archives-Hash: 4bbceffcd5b6d52d6ebc3a9d066c21d1 commit: 87b52a55dc7be942f0ca4011bb120a7d65c9802e Author: Oleg Höfling gmail com> AuthorDate: Thu Mar 28 17:01:15 2019 +0000 Commit: Horea Christian gmail com> CommitDate: Wed May 22 16:17:44 2019 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=87b52a55 dev-libs/intel-common: version bump to 19.0.3.199 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Horea Christian chymera.eu> .../intel-common/intel-common-19.0.3.199-r1.ebuild | 101 +++++++++++++++++++++ 1 file changed, 101 insertions(+) diff --git a/dev-libs/intel-common/intel-common-19.0.3.199-r1.ebuild b/dev-libs/intel-common/intel-common-19.0.3.199-r1.ebuild new file mode 100644 index 000000000..a294ac532 --- /dev/null +++ b/dev-libs/intel-common/intel-common-19.0.3.199-r1.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_update3_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} +}