libclc-21.1.2

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-21.1.2

Installation of libclc

Prepare libclc by running the following commands:

cmake -B build  \
      -D CMAKE_INSTALL_PREFIX=/usr \
      -D CMAKE_BUILD_TYPE=Release  \
      -G Ninja

To 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

Contents

Installed Programs: None
Installed Libraries: None
Installed Directories: /usr/include/clc and /usr/share/clc