libclc-18.1.7

Introduction to libclc

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

[Note]

Note

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.

libclc Dependencies

Required

LLVM-18.1.7 (with Clang) and SPIRV-LLVM-Translator-18.1.4

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

Contents

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