The libclc package contains library requirements of the OpenCL C programming language (provides header files but no libraries itself).
LLVM-20.1.2 (with Clang) and SPIRV-LLVM-Translator-20.1.1
Install libclc by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-G Ninja .. &&
ninja
To test the results, issue: ninja test.
Now, as the root user:
ninja install
Inspect CMakeLists.txt and other
CMake related files for a full
list of options.