Skip to content

ci(desktop): fix Windows long-path and Linux Vulkan SPIRV-Headers build breaks#61

Closed
MegalithOfficial wants to merge 1 commit into
mainfrom
ci/fix-llama-bump-builds
Closed

ci(desktop): fix Windows long-path and Linux Vulkan SPIRV-Headers build breaks#61
MegalithOfficial wants to merge 1 commit into
mainfrom
ci/fix-llama-bump-builds

Conversation

@MegalithOfficial

@MegalithOfficial MegalithOfficial commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Why

Desktop CI (run 27508104374) broke after the llama.cpp submodule bump to b9611-3 (ebc10770a). Two independent build-infra failures, neither in the wrappers:

  • Windows (CPU/CUDA/Vulkan)cargo could not check out the git dependency: new llama.cpp ships tools/ui/ (llama-server Svelte WebUI, ~599 files, 161-char paths) which exceeds Windows' 260-char MAX_PATH under .cargo/git/checkouts/.... libgit2 error class=Filesystem (30).
  • Linux Vulkan — CMake configure failed at ggml/src/ggml-vulkan/CMakeLists.txt:14 on find_package(SPIRV-Headers CONFIG REQUIRED) (upstream PR #22009); CI never provided SPIRV-Headers.

Changes (both desktop-build.yml and desktop-release-build.yml)

  • Windows jobs: CARGO_NET_GIT_FETCH_WITH_CLI: "true" + an "Enable Windows long paths" step (git config --system core.longpaths true + LongPathsEnabled registry key) so cargo fetches with system git and long paths work.
  • Linux Vulkan job: add spirv-headers apt package (cmake config lands under /usr, already on CMake's search path).

Windows Vulkan needs only the path fix — the LunarG SDK ships SPIRV-Headers' cmake config and the job exports VULKAN_SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant