libclc-20.1.5

Introduction to libclc

The libclc package contains library requirements of the OpenCL C programming language (provides header files but no libraries itself).

libclc Dependencies

Required

LLVM-20.1.5 (with Clang) and SPIRV-LLVM-Translator-20.1.2

Installation of libclc

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

Command Explanations

[Note]

Note

For a full list of options and values, make sure you are in a build directory, then run cmake -LAH ...

Contents

Installed Programs: None
Installed Library: None
Installed Directories: /usr/{include,share}/clc