From 381b4f0ee8d82fd1e92cd9207a60a801bc897e91 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 6 Sep 2023 17:10:44 -0400 Subject: [PATCH] fix(ollama) closes #3255 --- projects/ollama.ai/package.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/projects/ollama.ai/package.yml b/projects/ollama.ai/package.yml index 3f1c8a8a..ef5ac1e6 100644 --- a/projects/ollama.ai/package.yml +++ b/projects/ollama.ai/package.yml @@ -1,14 +1,21 @@ distributable: - url: https://github.com/jmorganca/ollama/archive/v{{version}}.tar.gz - strip-components: 1 + url: git+https://github.com/jmorganca/ollama + ref: v{{version}} versions: github: jmorganca/ollama platforms: - darwin # Available for macOS Windows & Linux support coming soon. <= from https://ollama.ai/ build: dependencies: - go.dev: '*' + go.dev: ^1.21 + cmake.org: ^3 + git-scm.org: ^2 script: + - run: | + git submodule init + git submodule update + if: ">=0.0.18" + - go generate ./... - go build . - mkdir -p {{prefix}}/bin - install ollama {{prefix}}/bin/