]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml-vulkan/CMakeLists: add a check for SPIRV-Headers (llama/22009)
authorJan Ekström <redacted>
Sun, 17 May 2026 11:12:11 +0000 (14:12 +0300)
committerGeorgi Gerganov <redacted>
Mon, 25 May 2026 09:26:07 +0000 (12:26 +0300)
commit9e96e0eaf1847b874dd9fd1734b0c9a469d6548c
treeacf3c8be00a3b9ae84432ff43e877ad30fe7fdd6
parent50482cbd229dda298f753e0ebcb6f73a6c219920
ggml-vulkan/CMakeLists: add a check for SPIRV-Headers (llama/22009)

* ci/run: set explicit SPIR-V Headers search path for macOS vulkan CI

For whatever reason, the files are under additional sub-path
`vulkan/` under the cmake directory, which does not match either
current LunarG macOS Vulkan SDK structure (`lib/cmake/SPIRV-Headers`),
nor what gets installed when you run the cmake build+install for
SPIRV-Headers itself on at least Linux (`share/cmake/SPIRV-Headers`).

This allows for SPIRV-Headers to be found, as currently the CI
runner's setup does not seem to include the relevant path in
list of search locations.

* ggml-vulkan/CMakeLists: add a check for SPIRV-Headers

This is installed by the project if it is built and installed.
Receiving an error during the configuration step is generally
preferred to receiving an error in the middle of a build.
ggml/src/ggml-vulkan/CMakeLists.txt