libclc-20.1.8

Introduction to libclc

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.

Package Information

libclc Dependencies

Required

SPIRV-LLVM-Translator-20.1.5

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 Libraries: None
Installed Directories: /usr/include/clc and /usr/share/clc