[arch-commits] Commit in intel-mkl/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Feb 16 17:48:39 UTC 2020
Date: Sunday, February 16, 2020 @ 17:48:39
Author: svenstaro
Revision: 572742
Better reasoning
Modified:
intel-mkl/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-16 17:48:11 UTC (rev 572741)
+++ PKGBUILD 2020-02-16 17:48:39 UTC (rev 572742)
@@ -29,8 +29,8 @@
mkdir -p "${pkgdir}"/opt/intel/mkl/lib
- # Sadly Intel seems to expect a certain structure for MKL:
- # https://software.intel.com/en-us/mkl-linux-developer-guide-high-level-directory-structure
+ # 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
cp -r opt/intel/compilers_and_libraries_${pkgver}/linux/mkl/include "${pkgdir}"/opt/intel/mkl/include
@@ -37,6 +37,8 @@
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
+ # We're not installing that weird mklvars.sh so we'll do it using a profile.d file.
+ # 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"
}
More information about the arch-commits
mailing list