chore: ⬆️ Update ggml-org/llama.cpp to 6050b467c07a95c7b87debd4ddac2f8ba8d9b807 (#12908)

* ⬆️ Update ggml-org/llama.cpp

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(llama-cpp): retry transient source fetches

GitHub TLS handshake failures stop CUDA builds before checkout.
Retry the shared source fetch three times with 3s and 6s delays.
Keep checkout blocked when all attempts fail.

Assisted-by: nib:gpt-6.1-sol
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
authored and GitHub committed 2026-10-26 15:22:43 +01:00
1 parent 6a11435f12
commit 30d63f2c28
1 file changed
+14 -2
+14 -2
View File
@@ -1,5 +1,5 @@
LLAMA_VERSION?=78a8ae14be559b45f5f13ddee82c188b683d5d8d
LLAMA_VERSION?=6050b467c07a95c7b87debd4ddac2f8ba8d9b807
LLAMA_REPO?=https://github.com/ggerganov/llama.cpp
CMAKE_ARGS?=
@@ -169,7 +169,19 @@ llama.cpp:
cd llama.cpp && \
git init && \
git remote add origin $(LLAMA_REPO) && \
git fetch --all --tags && \
( \
attempt=1; \
until git fetch --all --tags; do \
if [ "$$attempt" -ge 3 ]; then \
echo "git fetch failed after $$attempt attempts" >&2; \
exit 1; \
fi; \
delay=$$((attempt * 3)); \
echo "git fetch attempt $$attempt failed; retrying in $${delay}s" >&2; \
sleep "$$delay" || exit 1; \
attempt=$$((attempt + 1)); \
done \
) && \
git checkout -b build $(LLAMA_VERSION) && \
git submodule update --init --recursive --depth 1 --single-branch