Package Details: intel-opencl-sdk 2017_7.0.0.2568-1

Git Clone URL: (read-only)
Package Base: intel-opencl-sdk
Description: Intel SDK for OpenCL Applications
Upstream URL:
Licenses: custom:intel
Submitter: big_gie
Maintainer: ava1ar
Last Packager: ava1ar
Votes: 86
Popularity: 1.165234
First Submitted: 2011-05-13 13:53
Last Updated: 2018-01-31 09:40

Latest Comments

ava1ar commented on 2018-01-31 09:42

Updated to 2017_7.0.0.2568 (thanks pedromundo for updated PKGBUILD)

Please note, I did NOT include for OpenCL 2.1 - if you want it, please modify PKGBUILD before installing and uncomment corresponding lines (you may not need intel-opencl-runtime in this case, but this is not verified).

vendforce commented on 2018-01-30 19:45



pedromundo commented on 2017-09-27 19:22

A heads-up for anyone that needs to use the latest version for OpenCL 2.1 support or whatever reason:

I got it working by removing both the intel-opencl and intel-opencl-runtime and then changing the pkgbuild slightly to compensate for changes in the .tgz (the latest version includes an experimental for OpenCL 2.1, thus I'm not sure where intel-opencl-runtime should still be a dependency)

Below is my (somewhat hackish) PKGBUILD for 2017. (tested to not break things with nvidia OpenCL, but I didn't test with intel gpu OpenCL, since I don't have access to a machine with IGP right now), feedback welcome.

# Maintainer: ava1ar <>
# Contributor: Daniel Nagy <danielnagy at gmx de>
# Contributor: Nicolas Bigaouette <>
# Contributor: Vojtech "kralyk" Kral
pkgdesc="Intel SDK for OpenCL Applications"
depends=('opencl-icd-loader' 'libpng12' 'opencl-headers')
optdepends=('intel-opencl-runtime: OpenCL runtime for Intel Core and Xeon processors')

package() {
cd "${srcdir}"/intel_sdk_for_opencl_${pkgver}_x64/

# Copy license
install -Dm644 EULA.txt "${pkgdir}"/usr/share/licenses/intel-opencl-sdk/license

# Unpack rpms
for i in rpm/*.rpm; do bsdtar -xf "$i"; done

# Install files
mkdir -p "${pkgdir}/opt/intel/opencl-sdk"
cp -r opt/intel/opencl/* "${pkgdir}/opt/intel/opencl-sdk"

# Register ICD
mkdir -p "${pkgdir}/etc/OpenCL/vendors"
echo "/opt/intel/opencl-sdk/exp-runtime-2.1/lib64/" > "${pkgdir}/etc/OpenCL/vendors/intel.icd"

# Cleanup
rm -rf "${pkgdir}"/opt/intel/opencl-sdk/uninstall*

# Fix runtime_lib_dir and sdk_dir
sed -i -e 's|/etc/alternatives/opencl-intel-tools|/opt/intel/opencl-sdk|g' \
-e 's|$(dirname $(readlink /etc/alternatives/|/opt/intel/opencl-runtime/lib64|g' \

# Symlink binaries
mkdir -p "${pkgdir}/usr/bin"
ln -s "/opt/intel/opencl-sdk/SDK/bin/ioc64" "${pkgdir}/usr/bin/ioc"

ailick commented on 2017-09-03 02:50

New Version

ava1ar commented on 2016-12-10 04:39

Replaced libcl dependency wuth opencl-icd-loader. Please let me know if you have better solution. Thanks!

mmozeiko commented on 2016-12-08 23:20

opencl-driver metapackage is for actual driver, not the library that applications need to link with ( file). Driver is the one that depends on your GPU/CPU (nvidia, intel, ...).
OpenCL ICD loaded is platform independent code that loads library installed by driver.

kjslag commented on 2016-12-08 05:33

ocl-icd 2.2.9-1 provided libcl. For some reason ocl-icd 2.2.9-2 does not, but instead optionally depends on opencl-driver.

mmozeiko commented on 2016-12-08 05:22

I believe libcl in PKGBUILD for this package needs to be replaced with opencl-icd-loader.

chappjc commented on 2016-12-08 00:43

I have this already installed and now on system upgrade pacman is complaining that:

intel-opencl-sdk: installing ocl-icd (2.2.9-2) breaks dependency 'libcl'

But ocl-icd replaces libcl as far as I can tell, and I don't have libcl in any package list. I got intel-opencl-sdk installed on my system without any issue. After removing intel-opencl-sdk, pacman -Su worked fine. Dunno yet if I can reinstall this package...

ava1ar commented on 2016-12-01 04:01

rpmextract removed, bsdtar is used instead

All comments