summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-15 11:16:42 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-15 11:16:42 +0000
commit5db985d9db15e0a2621fe8c270a4ba806a34b65c (patch)
tree815acefcd5e1e006fab7510444541fd43aa8b0ba
parentcde4fab7c9e5d92bd345e2aa572fc66270c7aa33 (diff)
automatic import of ollama
-rw-r--r--ollama.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/ollama.spec b/ollama.spec
index fcb24c2..a701903 100644
--- a/ollama.spec
+++ b/ollama.spec
@@ -19,11 +19,11 @@ Get up and running with Llama 3, Mistral, Gemma 2, and other large language mode
%prep
%setup -c -T
-git clone https://github.com/ollama/ollama.git
-# cd ollama
+git clone https://gitee.com/mirrors/ollama.git
%build
cd ollama
+sed -i 's|https://github.com/ggerganov/llama.cpp.git|https://gitee.com/cxunmz/llama.cpp.git|' .gitmodules
go generate ./...
go build .