From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-863433-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AB5EC138010 for <garchives@archives.gentoo.org>; Mon, 15 Feb 2016 08:20:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 027A921C01D; Mon, 15 Feb 2016 08:19:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15C6921C04B for <gentoo-commits@lists.gentoo.org>; Mon, 15 Feb 2016 08:19:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 297A634104D for <gentoo-commits@lists.gentoo.org>; Mon, 15 Feb 2016 08:19:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 434F515FC for <gentoo-commits@lists.gentoo.org>; Mon, 15 Feb 2016 08:19:52 +0000 (UTC) From: "Justin Lecher" <jlec@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" <jlec@gentoo.org> Message-ID: <1455523598.e13dc25604be77dcc9436c13683d352426aec0c1.jlec@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-16.0.1.150.ebuild dev-libs/intel-common/metadata.xml X-VCS-Directories: dev-libs/intel-common/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: e13dc25604be77dcc9436c13683d352426aec0c1 X-VCS-Branch: master Date: Mon, 15 Feb 2016 08:19:52 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bb42969b-0a0d-433e-9d96-3b592b7b80a9 X-Archives-Hash: 190ae462f5efba0785b5055474eff8ad commit: e13dc25604be77dcc9436c13683d352426aec0c1 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Feb 14 17:27:06 2016 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Mon Feb 15 08:06:38 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e13dc256 dev-libs/intel-common: Version bump to 16.0.1.150 Package-Manager: portage-2.2.27 .../intel-common/intel-common-16.0.1.150.ebuild | 137 +++++++++++++++++++++ dev-libs/intel-common/metadata.xml | 2 +- 2 files changed, 138 insertions(+), 1 deletion(-) 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 new file mode 100644 index 0000000..89a2e09 --- /dev/null +++ b/dev-libs/intel-common/intel-common-16.0.1.150.ebuild @@ -0,0 +1,137 @@ +# 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/metadata.xml b/dev-libs/intel-common/metadata.xml index b689904..7e7298d 100644 --- a/dev-libs/intel-common/metadata.xml +++ b/dev-libs/intel-common/metadata.xml @@ -8,7 +8,7 @@ <longdescription lang="en"> This package contains the core files to be installed for the Intel compilers and libraries. Probably useless if installed standalone. -</longdescription> + </longdescription> <use> <flag name="compiler">Install the libraries needed for the icc and ifort compilers</flag> </use>