Skip to content

Commit f54a285

Browse files
SecAI-Hubclaude
andcommitted
Fix llama.cpp directory name after tar extraction
GitHub tarballs extract to llama.cpp-b5200/ (full tag), not llama.cpp-5200/ (stripped). Remove the erroneous #b prefix strip. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 33b2d4f commit f54a285

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

files/scripts/build-services.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ LLAMA_CPP_VERSION="${LLAMA_CPP_VERSION:-b5200}"
8080
cd "$SRC_DIR"
8181
curl -fsSL "https://github.com/ggml-org/llama.cpp/archive/refs/tags/${LLAMA_CPP_VERSION}.tar.gz" \
8282
| tar xz
83-
cd "llama.cpp-${LLAMA_CPP_VERSION#b}"
83+
cd "llama.cpp-${LLAMA_CPP_VERSION}"
8484
cmake -B build -DGGML_CUDA=ON -DGGML_VULKAN=ON -DBUILD_SHARED_LIBS=OFF \
8585
-DCMAKE_BUILD_TYPE=Release 2>/dev/null || \
8686
cmake -B build -DGGML_VULKAN=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release 2>/dev/null || \

0 commit comments

Comments
 (0)