The SPIRV-Headers package contains headers that allow for applications to 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 tarball SPIRV-Headers-1.4.313.0.tar.gz
will extract to
the directory SPIRV-Headers-vulkan-sdk-1.4.313.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
For a full list of options and values, make sure you are in a build directory, then run cmake -LAH ...