summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorava1ar2016-04-22 20:12:54 -0400
committerava1ar2016-04-22 20:12:54 -0400
commit936077a34033376e064bb575bbaba4e942b26d26 (patch)
tree795d3696bed5988f7b27fc7c9c9379810a9ef46a
parent9c91eac683c064bac0c49666a8fec7cd47736b5f (diff)
downloadaur-936077a34033376e064bb575bbaba4e942b26d26.tar.gz
Updated to 16.1
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD47
-rw-r--r--intel-opencl-runtime.install6
3 files changed, 46 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 98f80f6b853..297d6548414 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,22 @@
+# Generated by mksrcinfo v8
+# Sat Apr 23 00:12:36 UTC 2016
pkgbase = intel-opencl-runtime
- pkgdesc = Intel's implementation of the OpenCL standard optimized for Intel processors
- pkgver = 2014_R2
- pkgrel = 3
- url = http://software.intel.com/en-us/vcsource/tools/opencl
+ pkgdesc = OpenCL runtime for Intel Core and Xeon processors
+ pkgver = 16.1
+ pkgrel = 1
+ epoch = 1
+ url = https://software.intel.com/en-us/articles/opencl-drivers
install = intel-opencl-runtime.install
arch = x86_64
- license = intel
+ license = custom:intel
makedepends = rpmextract
- depends = intel-opencl-sdk
+ depends = numactl
+ depends = intel-tbb
+ depends = zlib
+ optdepends = intel-opencl-sdk: Intel SDK for OpenCL Applications
provides = opencl
- source = http://registrationcenter.intel.com/irc_nas/4181/opencl_runtime_14.2_x64_4.5.0.8.tgz
- sha256sums = 2f89eed6e8e1ebfd7d22ea4a10cfc63cbe8ffb41445d78e98de02f99806d2aac
+ source = http://registrationcenter-download.intel.com/akdlm/irc_nas/9019/opencl_runtime_16.1_x64_rh_5.2.0.10002.tgz
+ sha256sums = b39bb90f35640cd8d3fd6fc173cf24d969b81da4554a32484c9b2520a8c010c6
pkgname = intel-opencl-runtime
diff --git a/PKGBUILD b/PKGBUILD
index 29a73ef00c6..84ad7f9946e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,40 @@
-# Maintainer: Duong Pham <dthpham@gmail.com>
+# Maintainer: ava1ar <mail@ava1ar.me>
+# Contributor: Duong Pham <dthpham@gmail.com>
# Contributor: Eric Quackenbush <mail@ericquackenbush.com>
# Contributor: Wei-Ning Huang <aitjcize@gmail.com>
+
pkgname=intel-opencl-runtime
-pkgver=2014_R2
-pkgrel=3
-pkgdesc="Intel's implementation of the OpenCL standard optimized for Intel processors"
+epoch=1
+pkgver=16.1
+pkgrel=1
+pkgdesc="OpenCL runtime for Intel Core and Xeon processors"
arch=('x86_64')
-url="http://software.intel.com/en-us/vcsource/tools/opencl"
-license=('intel')
-depends=('intel-opencl-sdk')
+url="https://software.intel.com/en-us/articles/opencl-drivers"
+license=('custom:intel')
+depends=('numactl' 'intel-tbb' 'zlib')
makedepends=('rpmextract')
+optdepends=('intel-opencl-sdk: Intel SDK for OpenCL Applications')
provides=('opencl')
install='intel-opencl-runtime.install'
-source=('http://registrationcenter.intel.com/irc_nas/4181/opencl_runtime_14.2_x64_4.5.0.8.tgz')
-sha256sums=('2f89eed6e8e1ebfd7d22ea4a10cfc63cbe8ffb41445d78e98de02f99806d2aac')
-_ipath="/opt/intel/opencl-sdk"
+source=(http://registrationcenter-download.intel.com/akdlm/irc_nas/9019/opencl_runtime_${pkgver}_x64_rh_5.2.0.10002.tgz)
+sha256sums=('b39bb90f35640cd8d3fd6fc173cf24d969b81da4554a32484c9b2520a8c010c6')
package() {
- # Unpack RPM
- cd "${srcdir}"/pset_opencl_runtime_*/
- rm rpm/opencl-1.2-base-pset-*.rpm
- for i in rpm/*.rpm; do rpmextract.sh "$i"; done
+ cd "${srcdir}"/opencl_runtime_*/
+
+ # Copy license
+ install -Dm644 EULA.txt "${pkgdir}"/usr/share/licenses/opencl-runtime/license
+
+ # Unpack RPM
+ rm rpm/opencl-1.2-base-pset-*.rpm
+ for i in rpm/*.rpm; do rpmextract.sh "$i"; done
+
+ # Register ICD
+ mkdir -p "${pkgdir}/etc/OpenCL/vendors"
+ echo "/opt/intel/opencl-runtime/lib64/libintelocl.so" > "${pkgdir}/etc/OpenCL/vendors/intel.icd"
+
+ # Install files
+ mkdir -p "${pkgdir}/opt/intel/opencl-runtime"
+ cp -r opt/intel/opencl-*/* "${pkgdir}/opt/intel/opencl-runtime"
- # Install files
- mkdir -p "${pkgdir}/${_ipath}"
- rm opt/intel/opencl-*/lib64/opencl_.pch
- cp -r opt/intel/opencl-*/* "${pkgdir}/${_ipath}"
}
diff --git a/intel-opencl-runtime.install b/intel-opencl-runtime.install
index 42580d415f4..93d64881ba8 100644
--- a/intel-opencl-runtime.install
+++ b/intel-opencl-runtime.install
@@ -1,11 +1,11 @@
post_install() {
- ldconfig
+ ldconfig
}
post_upgrade() {
- ldconfig
+ ldconfig
}
post_remove() {
- ldconfig
+ ldconfig
}