mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
parent
6285966ee7
commit
381b4f0ee8
1 changed files with 10 additions and 3 deletions
|
@ -1,14 +1,21 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://github.com/jmorganca/ollama/archive/v{{version}}.tar.gz
|
url: git+https://github.com/jmorganca/ollama
|
||||||
strip-components: 1
|
ref: v{{version}}
|
||||||
versions:
|
versions:
|
||||||
github: jmorganca/ollama
|
github: jmorganca/ollama
|
||||||
platforms:
|
platforms:
|
||||||
- darwin # Available for macOS Windows & Linux support coming soon. <= from https://ollama.ai/
|
- darwin # Available for macOS Windows & Linux support coming soon. <= from https://ollama.ai/
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: '*'
|
go.dev: ^1.21
|
||||||
|
cmake.org: ^3
|
||||||
|
git-scm.org: ^2
|
||||||
script:
|
script:
|
||||||
|
- run: |
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
if: ">=0.0.18"
|
||||||
|
- go generate ./...
|
||||||
- go build .
|
- go build .
|
||||||
- mkdir -p {{prefix}}/bin
|
- mkdir -p {{prefix}}/bin
|
||||||
- install ollama {{prefix}}/bin/
|
- install ollama {{prefix}}/bin/
|
||||||
|
|
Loading…
Reference in a new issue