summaryrefslogtreecommitdiff
path: root/ollama.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-15 12:45:15 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-15 12:45:15 +0000
commit266582c91760287cb35fb2b55b7dc2df61f2dd08 (patch)
tree911e51b449041d2ba0877e08f71e7c9c877e456f /ollama.spec
parent5db985d9db15e0a2621fe8c270a4ba806a34b65c (diff)
automatic import of ollama
Diffstat (limited to 'ollama.spec')
-rw-r--r--ollama.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/ollama.spec b/ollama.spec
index a701903..7351b0b 100644
--- a/ollama.spec
+++ b/ollama.spec
@@ -24,6 +24,7 @@ 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
+export GOPROXY=https://goproxy.cn
go generate ./...
go build .