From 4de2b9047c16257b3ac07af80c99be0ac616745b Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 6 Nov 2024 15:31:39 -0500 Subject: [PATCH] fix(ollama) closes #7834 --- projects/ollama.ai/package.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/projects/ollama.ai/package.yml b/projects/ollama.ai/package.yml index 0614c3efee..1a7346e874 100644 --- a/projects/ollama.ai/package.yml +++ b/projects/ollama.ai/package.yml @@ -14,10 +14,15 @@ build: cmake.org: ^3 git-scm.org: ^2 script: - - run: | - git submodule init - git submodule update + - run: + - git submodule init + - git submodule update if: '>=0.0.18' + # arm64 build bug + # https://github.com/ollama/ollama/issues/7292#issuecomment-2427773036 + - run: sed -i 's/-D__ARM_FEATURE_MATMUL_INT8//g' llama.go + working-directory: llama + if: '>=0.4.0' - go generate ./... - go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}/bin/ollama' . env: