summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVersus Void2019-02-24 17:33:42 +0300
committerVersus Void2019-02-24 17:33:42 +0300
commita4618e2a93addc763f53b0ec25cec3586d12d30e (patch)
treed0bcb4358a87d941c69f552514cd64ee316beda6
downloadaur-a4618e2a93addc763f53b0ec25cec3586d12d30e.tar.gz
Initial
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD62
-rw-r--r--intel-mkl.install3
3 files changed, 99 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ac64bfebfff
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = intel-mkl-slim
+ pkgdesc = Intel Math Kernel Library (x86_64 shared libraries and headers only)
+ pkgver = 2019.2.187
+ pkgrel = 1
+ url = https://software.intel.com/en-us/mkl
+ install = intel-mkl.install
+ arch = x86_64
+ license = custom:ISSL
+ makedepends = cpio
+ optdepends = intel-tbb: Intel® threading implementation
+ provides = intel-mkl
+ conflicts = intel-mkl
+ replaces = intel-mkl
+ noextract = intel-mkl-common-2019.2-187-2019.2-187.noarch.rpm
+ noextract = intel-mkl-common-c-2019.2-187-2019.2-187.noarch.rpm
+ noextract = intel-mkl-core-rt-2019.2-187-2019.2-187.x86_64.rpm
+ noextract = intel-mkl-gnu-rt-2019.2-187-2019.2-187.x86_64.rpm
+ noextract = intel-mkl-tbb-rt-2019.2-187-2019.2-187.x86_64.rpm
+ noextract = intel-openmp-19.0.2-187-19.0.2-187.x86_64.rpm
+ source = http://registrationcenter-download.intel.com/akdlm/irc_nas/15095/onlinedata/rpm/intel-mkl-common-2019.2-187-2019.2-187.noarch.rpm
+ source = http://registrationcenter-download.intel.com/akdlm/irc_nas/15095/onlinedata/rpm/intel-mkl-common-c-2019.2-187-2019.2-187.noarch.rpm
+ source = http://registrationcenter-download.intel.com/akdlm/irc_nas/15095/onlinedata/rpm/intel-mkl-core-rt-2019.2-187-2019.2-187.x86_64.rpm
+ source = http://registrationcenter-download.intel.com/akdlm/irc_nas/15095/onlinedata/rpm/intel-mkl-gnu-rt-2019.2-187-2019.2-187.x86_64.rpm
+ source = http://registrationcenter-download.intel.com/akdlm/irc_nas/15095/onlinedata/rpm/intel-mkl-tbb-rt-2019.2-187-2019.2-187.x86_64.rpm
+ source = http://registrationcenter-download.intel.com/akdlm/irc_nas/15095/onlinedata/rpm/intel-openmp-19.0.2-187-19.0.2-187.x86_64.rpm
+ sha256sums = c44be9800e2f129ffb0fce018df3457ee78df686bf37c7a6632d59ce5c17f6e6
+ sha256sums = 065153f14d81892681bfd743e162ce545209ed624e8a53a85f402935e676eddc
+ sha256sums = f8a9d89c78a2ea8d698f37fde9532277db054f2c636bfecb2116cc44869494c9
+ sha256sums = 44f30d95905ec7f24d874cd59ad37012d39ba98f9dd858f4424a6eb36cc570c4
+ sha256sums = c477c1dd925678a3826e8163416c16aa5e0069cd633bec0c36282fba0c30694d
+ sha256sums = bc0dc99755cd5b122c394f2614e44b307bd2c595979c0e1b35deef1693d1a144
+
+pkgname = intel-mkl-slim
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eb9128ec14f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,62 @@
+# Maintainer: Versus Void <chaoskeeper somwhere_at m a i l ru>
+pkgname=intel-mkl-slim
+pkgver_hyphen=2019.2-187
+pkgver=${pkgver_hyphen/-/.}
+pkgrel=1
+pkgdesc="Intel Math Kernel Library (x86_64 shared libraries and headers only)"
+arch=(x86_64)
+url="https://software.intel.com/en-us/mkl"
+license=("custom:ISSL")
+depends=()
+makedepends=(cpio)
+optdepends=('intel-tbb: Intel® threading implementation')
+provides=(intel-mkl)
+conflicts=(intel-mkl)
+replaces=(intel-mkl)
+_url="http://registrationcenter-download.intel.com/akdlm/irc_nas/15095/onlinedata/rpm"
+openmp_version=19.0.2-187
+source=(
+ "$_url/intel-mkl-common-$pkgver_hyphen-$pkgver_hyphen.noarch.rpm"
+ "$_url/intel-mkl-common-c-$pkgver_hyphen-$pkgver_hyphen.noarch.rpm"
+ "$_url/intel-mkl-core-rt-$pkgver_hyphen-$pkgver_hyphen.x86_64.rpm"
+ "$_url/intel-mkl-gnu-rt-$pkgver_hyphen-$pkgver_hyphen.x86_64.rpm"
+ "$_url/intel-mkl-tbb-rt-$pkgver_hyphen-$pkgver_hyphen.x86_64.rpm"
+ "$_url/intel-openmp-$openmp_version-$openmp_version.x86_64.rpm"
+)
+noextract=("${source[@]##*/}")
+sha256sums=('c44be9800e2f129ffb0fce018df3457ee78df686bf37c7a6632d59ce5c17f6e6'
+ '065153f14d81892681bfd743e162ce545209ed624e8a53a85f402935e676eddc'
+ 'f8a9d89c78a2ea8d698f37fde9532277db054f2c636bfecb2116cc44869494c9'
+ '44f30d95905ec7f24d874cd59ad37012d39ba98f9dd858f4424a6eb36cc570c4'
+ 'c477c1dd925678a3826e8163416c16aa5e0069cd633bec0c36282fba0c30694d'
+ 'bc0dc99755cd5b122c394f2614e44b307bd2c595979c0e1b35deef1693d1a144')
+install=intel-mkl.install
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/licenses/intel-mkl
+ echo "Installing license"
+ bsdtar -O -xf "$srcdir"/intel-mkl-common-$pkgver_hyphen-$pkgver_hyphen.noarch.rpm \
+ ./opt/intel/compilers_and_libraries_$pkgver/licensing/mkl/en/license.txt > "$pkgdir"/usr/share/licenses/intel-mkl/LICENSE
+
+ echo "Installing headers"
+ bsdtar --strip-components 6 -C "$pkgdir"/usr/ \
+ -xf intel-mkl-common-c-$pkgver_hyphen-$pkgver_hyphen.noarch.rpm \
+ ./opt/intel/compilers_and_libraries_$pkgver/linux/mkl/include
+
+ mkdir -p "$pkgdir"/usr/lib
+ echo "Installing libraries"
+ bsdtar --strip-components 8 -C "$pkgdir"/usr/lib \
+ -xf intel-mkl-core-rt-$pkgver_hyphen-$pkgver_hyphen.x86_64.rpm \
+ ./opt/intel/compilers_and_libraries_$pkgver/linux/mkl/lib/intel64_lin
+ rm -r "$pkgdir"/usr/lib/locale
+ bsdtar --strip-components 8 -C "$pkgdir"/usr/lib \
+ -xf intel-mkl-gnu-rt-$pkgver_hyphen-$pkgver_hyphen.x86_64.rpm \
+ ./opt/intel/compilers_and_libraries_$pkgver/linux/mkl/lib/intel64_lin
+ bsdtar --strip-components 8 -C "$pkgdir"/usr/lib \
+ -xf intel-mkl-tbb-rt-$pkgver_hyphen-$pkgver_hyphen.x86_64.rpm \
+ ./opt/intel/compilers_and_libraries_$pkgver/linux/mkl/lib/intel64_lin
+
+ bsdtar --strip-components 8 -C "$pkgdir"/usr/lib \
+ -xf intel-openmp-$openmp_version-$openmp_version.x86_64.rpm \
+ ./opt/intel/compilers_and_libraries_$pkgver/linux/compiler/lib/intel64_lin/libiomp5.so
+}
diff --git a/intel-mkl.install b/intel-mkl.install
new file mode 100644
index 00000000000..0130b901ba7
--- /dev/null
+++ b/intel-mkl.install
@@ -0,0 +1,3 @@
+post_install() {
+ echo -e "\n\tNOTE: Intel® MKL is redistributed under very restrictive license. Please comply.\n"
+}