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-21.1.2/libclc-21.1.2.src.tar.xz
Download SHA256 Sum: 60031e0b3b07b0fc30d742aaf89910e7cb51526db775a5a162ec3ac4b739903d
Download MD5 sum: c7ddce8b2ea18fbf75bc69141b1952d4
Download size: 1,329.8 KB
Estimated disk space required: 387,223.8 KB
Estimated build time: 2.40 SBU
Prepare libclc by running the following commands:
cmake -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-G NinjaTo Build the package, issue:
ninja -C build
To test the results, issue:
ninja -C build test
Now Install, as the root user:
ninja -C build install