1 # Contributor: Nicolas Bigaouette <nbigaouette@gmail.com>
2 # Maintainer: Vojtech "kralyk" Kral
4 pkgname='intel-opencl-sdk'
7 pkgdesc="Intel’s implementation of the OpenCL standard optimized for Intel processors."
9 url="http://software.intel.com/en-us/articles/opencl-sdk/"
11 depends=('opencl-headers' 'libcl' 'llvm' 'intel-tbb' 'numactl')
13 install='intel-opencl-sdk.install'
14 source=("http://software.intel.com/file/35820/${pkgname/-/_}_${pkgver}_lnx_64.rpm")
15 sha256sums=('4ef2d6ec4ea4c57d688bdbcd536dfb4e452a397e979bca2a961f455621ceafd5')
16 _ipath="/opt/intel/opencl-sdk"
18 build() { true; } # Nothing to do
23 mkdir -p "${pkgdir}/etc/OpenCL/vendors"
24 echo "${_ipath}/libintelocl.so" > "${pkgdir}/etc/OpenCL/vendors/intel.icd"
25 # The OpenCL ICD specifications: http://www.khronos.org/registry/cl/extensions/khr/cl_khr_icd.txt
28 mkdir -p "${pkgdir}/${_ipath}"
29 install "${srcdir}/usr/lib64/libOpenCL.so" -t "${pkgdir}/${_ipath}"
30 install "${srcdir}/usr/lib64/OpenCL/vendors/intel/"{*.so,*.rtl,*.pch} "${pkgdir}/${_ipath}"
31 rm "${pkgdir}/${_ipath}/"libtbb*
34 #mkdir -p "${pkgdir}/usr/lib"
35 #ln -s "${_ipath}/libOpenCL.so" "${pkgdir}/usr/lib/libOpenCL.so"
36 # - moved to libopencl