libclc-21.1.8

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 10. Graphics APIs

- Prev

  OCL-ICD-2.3.4

- Next

  Graphics Drivers - Preliminaries

- Up
- Home

# libclc-21.1.8

## Introduction to libclc

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

- Download: https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/libclc-21.1.8.src.tar.xz

### libclc Dependencies

Required
LLVM-21.1.8 (with Clang) and SPIRV-LLVM-Translator-21.1.3

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

Now, as the `root` user:

    ninja install

## Command Explanations

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

- Prev

  OCL-ICD-2.3.4

- Next

  Graphics Drivers - Preliminaries

- Up
- Home