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

116.9. opencl-clhpp-2026.05.29

Khronos OpenCL C++ bindings, the opencl.hpp header

2026.05.29-1 · Apache-2.0 · 0.1 SBU · 430.9 KiB, 7 files · 41_system, 602 of 1047 · ports/core/gpu/opencl-clhpp

Homepage: https://github.com/KhronosGroup/OpenCL-CLHPP

Depends on: cmake, ninja, opencl-headers.

Required by (1): qgis.

Sources: opencl-clhpp-2026.05.29.tar.gz (131.8 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 opencl-clhpp'

build.sh:

cmake -S . -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DBUILD_TESTING=OFF \
	-DBUILD_DOCS=OFF \
	-DBUILD_EXAMPLES=OFF \
	-DOPENCL_CLHPP_BUILD_TESTING=OFF
cmake --build build
DESTDIR=$PKG cmake --install build

Directories: /usr/share/cmake/OpenCLHeadersCpp, /usr/share/licenses/opencl-clhpp.