The libclc package contains an implementation of the library requirements of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz
MD5 校验和:69065494ebcb1150b2a329c1b3db7584
大小:160 MB
预计所需磁盘空间:431 MB
预计构建时间:0.6 SBU (with parallelism=8)
SPIRV-LLVM-Translator-22.1.2 (required for the iris gallium driver in Mesa-26.1.3)
Install libclc by running the following commands:
mkdir libclc/build &&
cd libclc/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