#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 9. General Libraries

- Prev

  SpiderMonkey from firefox-128.7.0

- Next

  SPIRV-Tools-1.4.304.1

- Up
- Home

# SPIRV-Headers-1.4.304.1

## Introduction to SPIRV-Headers

The SPIRV-Headers package contains headers that allow for applications to use the SPIR-V language and instruction set with Vulkan. SPIR-V is a binary intermediate language for representing graphical shader stages and compute kernels for multiple Khronos APIs, including OpenGL and Vulkan.

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

### Package Information

- Download (HTTP): https://github.com/KhronosGroup/SPIRV-Headers/archive/vulkan-sdk-1.4.304.1/SPIRV-Headers-vulkan-sdk-1.4.304.1.tar.gz

- Download MD5 sum: 7421a1530b7a8187a17d0a80547fa44c

- Download size: 520 KB

- Estimated disk space required: 4.3 MB

- Estimated build time: less than 0.1 SBU

### SPIRV-Headers Dependencies

#### Required

CMake-3.31.5

## Installation of SPIRV-Headers

Install SPIRV-Headers by running the following commands:

    mkdir build &&
    cd    build &&

    cmake -D CMAKE_INSTALL_PREFIX=/usr -G Ninja .. &&
    ninja

This package does not come with a test suite.

Now, as the `root` user:

    ninja install

## Contents

Installed Programs: None
Installed Libraries: None
Installed Directories: /usr/include/spirv and /usr/share/cmake/SPIRV-Headers

- Prev

  SpiderMonkey from firefox-128.7.0

- Next

  SPIRV-Tools-1.4.304.1

- Up
- Home