The libclc package contains library requirements of the OpenCL C programming language (provides header files but no libraries itself).
Development versions of GLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
LLVM-18.1.7 (with Clang) and SPIRV-LLVM-Translator-18.1.4
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