# lang/libclc - The NetBSD Packages Collection

OpenCL library

    libclc is an open source implementation of the library requirements of
    the OpenCL C programming language, as specified by the OpenCL 1.1
    Specification. The following sections of the specification impose
    library requirements:

        6.1: Supported Data Types
        6.2.3: Explicit Conversions
        6.2.4.2: Reinterpreting Types Using as_type() and as_typen()
        6.9: Preprocessor Directives and Macros
        6.11: Built-in Functions
        9.3: Double Precision Floating-Point
        9.4: 64-bit Atomics
        9.5: Writing to 3D image memory objects
        9.6: Half Precision Floating-Point

    libclc is intended to be used with the Clang compiler's OpenCL frontend.

    libclc is designed to be portable and extensible. To this end, it
    provides generic implementations of most library requirements,
    allowing the target to override the generic implementation at the
    granularity of individual functions.

- Source version: `libclc-21.1.8`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://libclc.llvm.org/
- License: apache-2.0
- Package history: cvs, hg, git

## Build dependencies

lang/python313 lang/python313 devel/cmake pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

lang/clang lang/libunwind lang/llvm parallel/spirv-llvm-translator parallel/spirv-tools parallel/spirv-llvm-translator

## Binary packages

OS | Architecture | Version
--- | --- | ---
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.