From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/mkl/
Date: Tue, 3 Apr 2018 16:44:58 +0000 (UTC) [thread overview]
Message-ID: <1522773890.3b7aff577379a8fdd3898e6e78248559ceceaa23.tamiko@gentoo> (raw)
commit: 3b7aff577379a8fdd3898e6e78248559ceceaa23
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 3 14:48:56 2018 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Apr 3 16:44:50 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3b7aff57
sci-libs/mkl: version bump to 18.0.2.199
Package-Manager: Portage-2.3.28, Repoman-2.3.9
sci-libs/mkl/mkl-18.0.2.199.ebuild | 108 +++++++++++++++++++++++++++++++++++++
1 file changed, 108 insertions(+)
diff --git a/sci-libs/mkl/mkl-18.0.2.199.ebuild b/sci-libs/mkl/mkl-18.0.2.199.ebuild
new file mode 100644
index 000000000..ad98b798f
--- /dev/null
+++ b/sci-libs/mkl/mkl-18.0.2.199.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+INTEL_DIST_SKU=3235
+INTEL_DIST_PV=2018_update2_professional_edition
+
+inherit alternatives-2 intel-sdp-r1 numeric-int64-multibuild
+
+DESCRIPTION="Intel Math Kernel Library: linear algebra, fft, math functions"
+HOMEPAGE="http://software.intel.com/en-us/articles/intel-mkl/"
+
+IUSE="doc int64"
+KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND=""
+RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
+
+CHECKREQS_DISK_BUILD=3500M
+
+INTEL_DIST_DAT_RPMS=(
+ "mkl-cluster-c-2018.2-199-2018.2-199.noarch.rpm"
+ "mkl-cluster-common-2018.2-199-2018.2-199.noarch.rpm"
+ "mkl-cluster-f-2018.2-199-2018.2-199.noarch.rpm"
+ "mkl-common-2018.2-199-2018.2-199.noarch.rpm"
+ "mkl-common-c-2018.2-199-2018.2-199.noarch.rpm"
+ "mkl-common-c-ps-2018.2-199-2018.2-199.noarch.rpm"
+ "mkl-common-f-2018.2-199-2018.2-199.noarch.rpm"
+ "mkl-common-ps-2018.2-199-2018.2-199.noarch.rpm"
+ "mkl-f95-common-2018.2-199-2018.2-199.noarch.rpm")
+INTEL_DIST_AMD64_RPMS=(
+ "mkl-cluster-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-cluster-rt-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-core-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-core-c-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-core-f-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-core-ps-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-core-rt-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-f95-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-c-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-f-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-f-rt-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-rt-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-pgi-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-pgi-c-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-pgi-f-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-pgi-rt-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-tbb-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-tbb-rt-2018.2-199-2018.2-199.x86_64.rpm")
+INTEL_DIST_X86_RPMS=(
+ "mkl-core-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-core-c-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-core-f-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-core-ps-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-core-rt-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-f95-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-c-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-f-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-f-rt-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-gnu-rt-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-tbb-32bit-2018.2-199-2018.2-199.x86_64.rpm"
+ "mkl-tbb-rt-32bit-2018.2-199-2018.2-199.x86_64.rpm")
+
+pkg_setup() {
+ if use doc; then
+ INTEL_DIST_DAT_RPMS+=(
+ "mkl-doc-2018-2018.2-199.noarch.rpm"
+ "mkl-doc-ps-2018-2018.2-199.noarch.rpm")
+ fi
+}
+
+_mkl_add_alternative_provider() {
+ local prov=$1; shift
+ local alt
+ for alt in $*; do
+ NUMERIC_MODULE_NAME=${prov} \
+ numeric-int64-multibuild_install_alternative ${alt} ${prov}
+ done
+}
+
+src_install() {
+ intel-sdp-r1_src_install
+
+ sed -i -e "s#<INSTALLDIR>#$(isdp_get-sdp-edir)/linux#" \
+ "${ED}"/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/bin/pkgconfig/* \
+ || die "sed failed"
+
+ mkdir -p "${ED}"/usr/$(get_libdir)/pkgconfig/ || die "mkdir failed"
+ cp "${ED}"/opt/intel/compilers_and_libraries_2018.2.199/linux/mkl/bin/pkgconfig/* \
+ "${ED}"/usr/$(get_libdir)/pkgconfig/ || die "cp failed"
+
+ if use int64; then
+ _mkl_add_alternative_provider mkl-dynamic-ilp64-seq blas lapack cblas lapacke scalapack
+ _mkl_add_alternative_provider mkl-dynamic-ilp64-iomp blas lapack cblas lapacke scalapack
+ else
+ _mkl_add_alternative_provider mkl-dynamic-lp64-seq blas lapack cblas lapacke scalapack
+ _mkl_add_alternative_provider mkl-dynamic-lp64-iomp blas lapack cblas lapacke scalapack
+ fi
+
+ local ldpath="LDPATH="
+ use abi_x86_64 && ldpath+=":$(isdp_get-sdp-edir)/linux/mkl/lib/$(isdp_convert2intel-arch abi_x86_64)"
+ use abi_x86_32 && ldpath+=":$(isdp_get-sdp-edir)/linux/mkl/lib/$(isdp_convert2intel-arch abi_x86_32)"
+ echo "${ldpath}" > "${T}"/35mkl || die
+ doenvd "${T}"/35mkl
+}
next reply other threads:[~2018-04-03 16:45 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-03 16:44 Matthias Maier [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-11-09 7:41 [gentoo-commits] proj/sci:master commit in: sci-libs/mkl/ Benda XU
2020-05-05 6:30 Matthias Maier
2019-05-25 6:36 Matthias Maier
2018-04-03 16:44 Matthias Maier
2018-01-27 13:57 Justin Lecher
2016-07-18 11:23 Martin Mokrejs
2016-02-22 8:10 Justin Lecher
2016-02-22 8:10 Justin Lecher
2016-02-22 8:10 Justin Lecher
2016-02-19 10:12 Justin Lecher
2015-12-27 16:19 Justin Lecher
2015-12-27 16:19 Justin Lecher
2015-06-24 9:51 Justin Lecher
2015-02-12 8:51 Justin Lecher
2014-12-02 15:36 Justin Lecher
2014-09-16 8:28 Justin Lecher
2014-06-03 7:06 Justin Lecher
2014-03-24 18:19 Justin Lecher
2014-02-21 16:19 Justin Lecher
2013-12-08 17:31 Justin Lecher
2013-10-02 14:26 Justin Lecher
2013-05-25 4:40 Sebastien Fabbro
2013-05-02 14:19 Justin Lecher
2013-02-14 16:37 Justin Lecher
2013-02-14 10:35 Justin Lecher
2012-12-10 21:29 Justin Lecher
2012-10-27 9:04 Justin Lecher
2012-09-29 23:23 Sebastien Fabbro
2012-02-16 22:35 Sebastien Fabbro
2012-02-16 22:35 Sebastien Fabbro
2011-08-22 19:26 Sebastien Fabbro
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=1522773890.3b7aff577379a8fdd3898e6e78248559ceceaa23.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