fix(ollama)

closes #3255
This commit is contained in:
Jacob Heider 2023-09-06 17:10:44 -04:00
parent 6285966ee7
commit 381b4f0ee8
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -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/