native: pf-serve-vulkan finds SPIR-V's headers, and glslc on Ubuntu 22.04

ggml-vulkan asks for SPIRV-Headers' CMake config, so build.sh installs the
pinned SPIRV-Headers into .work and points cmake at it. Ubuntu 22.04 has no
glslc package; build.sh takes it from LunarG's 1.4.309.0 Linux SDK, checked
against the sha256 LunarG publishes. First CI run failed on both (run
39097128531).
This commit is contained in:
yetone
2026-10-18 12:32:53 +08:00
parent ffa292c7d3
commit 1f98f5ba65
2 changed files with 38 additions and 14 deletions
+2 -1
View File
@@ -35,8 +35,9 @@ jobs:
if: runner.os == 'macOS'
run: brew install ninja
- name: tools (Linux)
# no glslc in Ubuntu 22.04: build.sh takes LunarG's
if: startsWith(matrix.target, 'linux')
run: sudo apt-get update && sudo apt-get install -y ninja-build libvulkan-dev glslc zip
run: sudo apt-get update && sudo apt-get install -y ninja-build libvulkan-dev xz-utils zip
- name: tools (Windows, cross)
if: matrix.target == 'windows-amd64'
run: sudo apt-get update && sudo apt-get install -y ninja-build mingw-w64 glslc zip