Skip to content

Commit 71b882f

Browse files
ericvicenticlaude
andcommitted
fix(ci): pin MinGW runtime DLLs first in PATH for Windows llama.cpp build
The win22/20260706 runner image updated Git for Windows to 2.55, whose bundled libstdc++-6.dll shadows the C:\mingw64 one under Git Bash and crashes freshly built vulkan-shaders-gen.exe with STATUS_ENTRYPOINT_NOT_FOUND (actions/runner-images#8399). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FL3b2MuojCAcyjdXhNKZRi
1 parent 2ab46e1 commit 71b882f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/actions/ci-setup/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ runs:
120120
set -euo pipefail
121121
cd backend/util/llama-go
122122
123+
# The build runs freshly compiled tools (vulkan-shaders-gen.exe), which
124+
# crash with STATUS_ENTRYPOINT_NOT_FOUND if a mismatched libstdc++-6.dll
125+
# from elsewhere in PATH is loaded instead of the toolchain's own
126+
# (actions/runner-images#8399). Keep the compiling toolchain's DLLs first.
127+
export PATH="/c/mingw64/bin:$PATH"
128+
123129
cmake -G "MinGW Makefiles" -B build -S llama.cpp \
124130
-DGGML_VULKAN=ON \
125131
-DGGML_OPENMP=OFF \

0 commit comments

Comments
 (0)