The libclc package contains an implementation of the library requirements of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/libclc-20.1.8.src.tar.xz
Download MD5 sum: b49b6b81298c9eb1609073b9164ff4cb
Download size: 134 KB
Estimated disk space required: 431 MB
Estimated build time: 0.6 SBU (with parallelism=8)
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