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.2 platform.
Download (HTTP): https://github.com/KhronosGroup/SPIRV-Headers/archive/vulkan-sdk-1.3.290.0/SPIRV-Headers-1.3.290.0.tar.gz
Download MD5 sum: e9da8c949d89084b8a0a6b128ca6a30d
Download size: 512 KB
Estimated disk space required: 4.4 MB
Estimated build time: less than 0.1 SBU
This tarball SPIRV-Headers-1.3.290.0.tar.gz
will extract to
the directory SPIRV-Headers-vulkan-sdk-1.3.290.0
.
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