[arch-commits] Commit in intel-mkl/repos/community-x86_64 (6 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Mar 17 15:33:49 UTC 2020


    Date: Tuesday, March 17, 2020 @ 15:33:48
  Author: svenstaro
Revision: 600301

archrelease: copy trunk to community-x86_64

Added:
  intel-mkl/repos/community-x86_64/PKGBUILD
    (from rev 600300, intel-mkl/trunk/PKGBUILD)
  intel-mkl/repos/community-x86_64/intel-mkl.conf
    (from rev 600300, intel-mkl/trunk/intel-mkl.conf)
  intel-mkl/repos/community-x86_64/intel-mkl.sh
    (from rev 600300, intel-mkl/trunk/intel-mkl.sh)
Deleted:
  intel-mkl/repos/community-x86_64/PKGBUILD
  intel-mkl/repos/community-x86_64/intel-mkl.conf
  intel-mkl/repos/community-x86_64/intel-mkl.sh

----------------+
 PKGBUILD       |  111 +++++++++++++++++++++++++++----------------------------
 intel-mkl.conf |    3 -
 intel-mkl.sh   |    2 
 3 files changed, 59 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-17 15:33:34 UTC (rev 600300)
+++ PKGBUILD	2020-03-17 15:33:48 UTC (rev 600301)
@@ -1,55 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Redistribution information:
-# https://software.intel.com/en-us/mkl
-# https://software.intel.com/en-us/articles/intel-math-kernel-library-license-faq
-pkgname=intel-mkl
-pkgver=2020.0.166
-_pkgver=${pkgver/%./-/}
-pkgrel=5
-pkgdesc="Intel Math Kernel Library"
-arch=(x86_64)
-url="https://software.intel.com/en-us/mkl"
-license=("custom:ISSL")
-source=("http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16318/l_mkl_$pkgver.tgz"
-        intel-mkl.sh
-        intel-mkl.conf)
-sha512sums=('470bdb6b435ad938a520185fcd35ab4ce1656da0884c32506575077f398b3db84d5eeb4ac9f1af5a4d29dc9c30d473c4ff82effe8015c4f2dd8e0e4038155127'
-            '1268685ff3ccd47733084dedcd4ea0d393f4ed3f6d00cd92125765ae5c8e14e7fe49b82692b3f667bfea931ad3c284a1c1c37235b474db09b5350c0046566c3c'
-            '6e480cf43112fdb9ea294ed73c897f1cf739d7bacb428e90758e38a99b328db80ec8ccd244f4e684fb6cc3eb972ba0e97d3dc39c70ef158030ce870cb4d5e68a')
-
-prepare() {
-  cd l_mkl_$pkgver/rpm
-  for rpm in *.rpm; do
-    bsdtar -xf $rpm
-  done
-}
-
-package() {
-  cd l_mkl_$pkgver/rpm
-
-  # We'll ship the terrible mklvars.sh file because some users surely expect it.
-  # TODO: This is basically just hard-coded paths anyway. Just ship a static file.
-  # It's a terrible pkg-config replacement by Intel.
-  # install -Dm755 opt/intel/compilers_and_libraries_${pkgver}/linux/mkl/bin/mklvars.sh "${pkgdir}"/usr/bin/mklvars.sh
-  # sed -i "s|<INSTALLDIR>|/opt/intel/mkl|g" "${pkgdir}"/usr/bin/mklvars.sh
-
-  mkdir -p "${pkgdir}/usr/bin"
-  install -Dm755 opt/intel/compilers_and_libraries_${pkgver}/linux/mkl/tools/mkl_link_tool "${pkgdir}"/opt/intel/mkl/tools/mkl_link_tool
-  ln -s /opt/intel/mkl/tools/mkl_link_tool "${pkgdir}"/usr/bin/mkl_link_tool
-
-  mkdir -p "${pkgdir}"/opt/intel/mkl/lib/intel64
-
-  # Sadly Intel seems to expect a certain structure for MKL
-  # See https://software.intel.com/en-us/mkl-linux-developer-guide-high-level-directory-structure
-  # We'll try to follow that as per upstream suggestion.
-  cp opt/intel/compilers_and_libraries_${pkgver}/linux/mkl/lib/intel64_lin/*.{a,so} "${pkgdir}"/opt/intel/mkl/lib/intel64
-  cp opt/intel/compilers_and_libraries_${pkgver}/linux/compiler/lib/intel64_lin/*.{a,so} "${pkgdir}"/opt/intel/mkl/lib/intel64
-  cp -r opt/intel/compilers_and_libraries_${pkgver}/linux/mkl/include "${pkgdir}"/opt/intel/mkl/include
-  install -Dm644 opt/intel/compilers_and_libraries_${pkgver}/licensing/mkl/en/license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
-  # Install profile and ld.so.config files
-  # See https://software.intel.com/en-us/mkl-linux-developer-guide-scripts-to-set-environment-variables
-  install -Dm755 "${srcdir}/intel-mkl.sh" "${pkgdir}/etc/profile.d/intel-mkl.sh"
-  install -Dm644 "${srcdir}/intel-mkl.conf" "${pkgdir}/etc/ld.so.conf.d/intel-mkl.conf"
-}
-# vim:set ts=2 sw=2 et:

Copied: intel-mkl/repos/community-x86_64/PKGBUILD (from rev 600300, intel-mkl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-17 15:33:48 UTC (rev 600301)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Redistribution information:
+# https://software.intel.com/en-us/mkl
+# https://software.intel.com/en-us/articles/intel-math-kernel-library-license-faq
+pkgname=intel-mkl
+pkgver=2020.0.166
+_pkgver=${pkgver/%./-/}
+pkgrel=6
+pkgdesc="Intel Math Kernel Library"
+arch=(x86_64)
+url="https://software.intel.com/en-us/mkl"
+license=("custom:ISSL")
+source=("http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16318/l_mkl_$pkgver.tgz"
+        intel-mkl.sh
+        intel-mkl.conf)
+sha512sums=('470bdb6b435ad938a520185fcd35ab4ce1656da0884c32506575077f398b3db84d5eeb4ac9f1af5a4d29dc9c30d473c4ff82effe8015c4f2dd8e0e4038155127'
+            '1268685ff3ccd47733084dedcd4ea0d393f4ed3f6d00cd92125765ae5c8e14e7fe49b82692b3f667bfea931ad3c284a1c1c37235b474db09b5350c0046566c3c'
+            'c7181ee34a8225eefcd66f937e58b29184181c1caa1f24ce264b6fb4c0415fcde743aff3c1a2b165c2af1920dda6c50f5e470a94fe1e11ea61b4ceb9388c3ce4')
+
+prepare() {
+  cd l_mkl_$pkgver/rpm
+  for rpm in *.rpm; do
+    bsdtar -xf $rpm
+  done
+}
+
+package() {
+  cd l_mkl_$pkgver/rpm
+
+  # We'll ship the terrible mklvars.sh file because some users surely expect it.
+  # TODO: This is basically just hard-coded paths anyway. Just ship a static file.
+  # It's a terrible pkg-config replacement by Intel.
+  # install -Dm755 opt/intel/compilers_and_libraries_${pkgver}/linux/mkl/bin/mklvars.sh "${pkgdir}"/usr/bin/mklvars.sh
+  # sed -i "s|<INSTALLDIR>|/opt/intel/mkl|g" "${pkgdir}"/usr/bin/mklvars.sh
+
+  mkdir -p "${pkgdir}/usr/bin"
+  install -Dm755 opt/intel/compilers_and_libraries_${pkgver}/linux/mkl/tools/mkl_link_tool "${pkgdir}"/opt/intel/mkl/tools/mkl_link_tool
+  ln -s /opt/intel/mkl/tools/mkl_link_tool "${pkgdir}"/usr/bin/mkl_link_tool
+
+  mkdir -p "${pkgdir}"/opt/intel/mkl/lib/intel64
+  ln -s intel64 "${pkgdir}"/opt/intel/mkl/lib/intel64_lin
+
+  # Sadly Intel seems to expect a certain structure for MKL
+  # See https://software.intel.com/en-us/mkl-linux-developer-guide-high-level-directory-structure
+  # We'll try to follow that as per upstream suggestion.
+  cp opt/intel/compilers_and_libraries_${pkgver}/linux/mkl/lib/intel64_lin/*.{a,so} "${pkgdir}"/opt/intel/mkl/lib/intel64
+  cp opt/intel/compilers_and_libraries_${pkgver}/linux/compiler/lib/intel64_lin/*.{a,so} "${pkgdir}"/opt/intel/mkl/lib/intel64
+  cp -r opt/intel/compilers_and_libraries_${pkgver}/linux/mkl/include "${pkgdir}"/opt/intel/mkl/include
+  install -Dm644 opt/intel/compilers_and_libraries_${pkgver}/licensing/mkl/en/license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+  # Install profile and ld.so.config files
+  # See https://software.intel.com/en-us/mkl-linux-developer-guide-scripts-to-set-environment-variables
+  install -Dm755 "${srcdir}/intel-mkl.sh" "${pkgdir}/etc/profile.d/intel-mkl.sh"
+  install -Dm644 "${srcdir}/intel-mkl.conf" "${pkgdir}/etc/ld.so.conf.d/intel-mkl.conf"
+}
+# vim:set ts=2 sw=2 et:

Deleted: intel-mkl.conf
===================================================================
--- intel-mkl.conf	2020-03-17 15:33:34 UTC (rev 600300)
+++ intel-mkl.conf	2020-03-17 15:33:48 UTC (rev 600301)
@@ -1 +0,0 @@
-/opt/intel/mkl/lib/intel64

Copied: intel-mkl/repos/community-x86_64/intel-mkl.conf (from rev 600300, intel-mkl/trunk/intel-mkl.conf)
===================================================================
--- intel-mkl.conf	                        (rev 0)
+++ intel-mkl.conf	2020-03-17 15:33:48 UTC (rev 600301)
@@ -0,0 +1,2 @@
+/opt/intel/mkl/lib/intel64
+/opt/intel/mkl/lib/intel64_lin

Deleted: intel-mkl.sh
===================================================================
--- intel-mkl.sh	2020-03-17 15:33:34 UTC (rev 600300)
+++ intel-mkl.sh	2020-03-17 15:33:48 UTC (rev 600301)
@@ -1 +0,0 @@
-export MKLROOT=/opt/intel/mkl

Copied: intel-mkl/repos/community-x86_64/intel-mkl.sh (from rev 600300, intel-mkl/trunk/intel-mkl.sh)
===================================================================
--- intel-mkl.sh	                        (rev 0)
+++ intel-mkl.sh	2020-03-17 15:33:48 UTC (rev 600301)
@@ -0,0 +1 @@
+export MKLROOT=/opt/intel/mkl



More information about the arch-commits mailing list