Package Details: intel-opencl-sdk 2020.3.494-2

Git Clone URL: https://aur.archlinux.org/intel-opencl-sdk.git (read-only, click to copy)
Package Base: intel-opencl-sdk
Description: Intel SDK for OpenCL Applications
Upstream URL: https://software.intel.com/en-us/intel-opencl/download
Licenses: custom:intel
Submitter: big_gie
Maintainer: batot
Last Packager: batot
Votes: 84
Popularity: 0.000012
First Submitted: 2011-05-13 13:53 (UTC)
Last Updated: 2023-04-07 10:39 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 12 Next › Last »

pedromundo commented on 2017-09-27 19:22 (UTC) (edited on 2017-09-27 19:23 (UTC) by pedromundo)

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 libintelocl.so 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.7.0.0.2511 (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 <maiL@ava1ar.me> # Contributor: Daniel Nagy <danielnagy at gmx de> # Contributor: Nicolas Bigaouette <nbigaouette@gmail.com> # Contributor: Vojtech "kralyk" Kral pkgname=intel-opencl-sdk pkgver=2017_7.0.0.2511 releasever=11705 pkgrel=1 pkgdesc="Intel SDK for OpenCL Applications" arch=('x86_64') url="https://software.intel.com/en-us/intel-opencl/download" license=('custom:intel') depends=('opencl-icd-loader' 'libpng12' 'opencl-headers') optdepends=('intel-opencl-runtime: OpenCL runtime for Intel Core and Xeon processors') install=intel-opencl-sdk.install source=(http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/${releasever}/intel_sdk_for_opencl_${pkgver}_x64.tgz) sha256sums=('8276bc9e4df2beb408014b169f604637dd83f465461bb0c61a7a99edbf03b740') 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/libintelocl_2_1.so" > "${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/opencl-libOpenCL.so))|/opt/intel/opencl-runtime/lib64|g' \ "${pkgdir}"/opt/intel/opencl-sdk/SDK/bin/{KBServer64,ioc64} # 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 (UTC)

New Version http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/11705/intel_sdk_for_opencl_2017_7.0.0.2511_x64.tgz

ava1ar commented on 2016-12-10 04:39 (UTC)

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 (UTC) (edited on 2016-12-08 23:22 (UTC) by mmozeiko)

opencl-driver metapackage is for actual driver, not the library that applications need to link with (libOpenCL.so 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 (UTC)

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. https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/ocl-icd&id=900d0b28f209d6af3910ffab5d0e47f1e1d1cfa0

mmozeiko commented on 2016-12-08 05:22 (UTC)

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

chappjc commented on 2016-12-08 00:43 (UTC) (edited on 2016-12-08 00:44 (UTC) by chappjc)

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 (UTC)

rpmextract removed, bsdtar is used instead

Scimmia commented on 2016-11-24 06:25 (UTC)

Nope, not necessary at all.

kjslag commented on 2016-11-22 02:48 (UTC)

rpmextract.sh also calls the rpm2cpio script, which looks rather nontrivial. Is rpm2cpio not necessary?