Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

116.6. ocl-icd-2.3.5

OpenCL ICD loader — libOpenCL.so dispatching to the drivers listed in /etc/OpenCL/vendors

2.3.5-1 · BSD-2-Clause · 0.4 SBU · 605.6 KiB, 10 files · 41_system, 599 of 1047 · ports/core/gpu/ocl-icd

Homepage: https://github.com/OCL-dev/ocl-icd

Depends on: autoconf, automake, libtool, ruby, opencl-headers, asciidoc, xmlto, libxslt, docbook-xsl, docbook-xml.

Required by (7): clinfo, ffmpeg, john, mesa-opencl, qgis, satdump, wine.

Sources: ocl-icd-2.3.5.tar.gz (115.1 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install ocl-icd'

build.sh:

autoreconf -fi

export XML_CATALOG_FILES=/etc/xml/catalog
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
	--disable-static \
	--disable-official-khronos-headers \
	--disable-custom-vendordir \
	--disable-custom-layerdir \
	--enable-debug \
	--enable-pthread-once \
	--disable-update-database
make
make DESTDIR=$PKG install

rm -rf "$PKG/usr/share/doc"

Programs: cllayerinfo.

Libraries: libOpenCL.so.

Directories: /usr/share/licenses/ocl-icd.