OCL-ICD-2.3.4

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

### Chapter 10. Graphics APIs

- Prev

  OpenCL-Headers-2025.07.22

- Next

  libclc-21.1.8

- Up
- Home

# OCL-ICD-2.3.4

## Introduction to OCL-ICD

The OCL-ICD package provides an OpenCL ICD loader.

- Download: https://github.com/OCL-dev/ocl-icd/archive/v2.3.4/ocl-icd-2.3.4.tar.gz

### OCL-ICD Dependencies

Required
Ruby-4.0.1
Recommended
OpenCL-Headers-2025.07.22
Optional
Asciidoctor and xmlto

## Installation of OCL-ICD

Install OCL-ICD by running the following commands:

    autoreconf -fi &&
    ./configure --prefix=/usr &&
    make

Now, as the `root` user:

    make install

## lib32 Installation of OCL-ICD

Install lib32-OCL-ICD by running the following commands:

    make distclean &&
    CC="gcc -m32" CXX="g++ -m32"          \
    PKG_CONFIG_PATH=/usr/lib32/pkgconfig  \
    ./configure --prefix=/usr             \
                --libdir=/usr/lib32       \
                --host=i686-pc-linux-gnu &&

    make

Now, as the `root` user:

    make   DESTDIR=$PWD/DESTDIR install   &&
    cp -vr DESTDIR/usr/lib32/* /usr/lib32 &&
    rm -rf DESTDIR                        &&
    ldconfig

## Command Explanations

### Note

Run ./configure --help for a full list of options.

## Contents

Installed Programs: cllayerinfo
Installed Libraries: libOpenCL
Installed Directories: /usr/share/doc/ocl-icd

### Short Descriptions

cllayerinfo | displays information about an OpenCL layer
`libOpenCL` | is the OpenCL ICD loader

- Prev

  OpenCL-Headers-2025.07.22

- Next

  libclc-21.1.8

- Up
- Home