libclc-22.1.8

#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-1357

### Chapter 9. General Libraries

- Prev

  libbytesize-2.12

- Next

  libcloudproviders-0.3.6

- Up
- Home

# libclc-22.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.

### Note

This package is known to build and work properly using an LFS 13.1 platform.

### Package Information

- Download (HTTP): https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/llvm-project-22.1.8.src.tar.xz

- Download MD5 sum: 69065494ebcb1150b2a329c1b3db7584

- Download size: 160 MB

- Estimated disk space required: 431 MB

- Estimated build time: 0.6 SBU (with parallelism=8)

### libclc Dependencies

#### Required

LLVM-22.1.8

#### Recommended

SPIRV-LLVM-Translator-22.1.5 (required for the iris gallium driver in Mesa-26.1.7)

## Installation of libclc

Install libclc by running the following commands:

    mkdir libclc/build &&
    cd    libclc/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

- Prev

  libbytesize-2.12

- Next

  libcloudproviders-0.3.6

- Up
- Home