mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
fix: speedup git submodule update
with --single-branch
(#2847)
add --single-branch to submodule update commands for speed Signed-off-by: Dave Lee <dave@gray101.com>
This commit is contained in:
parent
6ba730d7f8
commit
405794d4ca
3 changed files with 10 additions and 10 deletions
|
@ -52,7 +52,7 @@ llama.cpp:
|
|||
git remote add origin $(LLAMA_REPO) && \
|
||||
git fetch origin && \
|
||||
git checkout -b build $(LLAMA_VERSION) && \
|
||||
git submodule update --init --recursive --depth 1
|
||||
git submodule update --init --recursive --depth 1 --single-branch
|
||||
|
||||
llama.cpp/examples/grpc-server: llama.cpp
|
||||
mkdir -p llama.cpp/examples/grpc-server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue