mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
parent
b70f838748
commit
218bdda86a
1 changed files with 5 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: git+https://github.com/jmorganca/ollama
|
url: git+https://github.com/ollama/ollama
|
||||||
ref: v{{version}}
|
ref: v{{version}}
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: jmorganca/ollama
|
github: ollama/ollama
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
curl.se/ca-certs: '*'
|
curl.se/ca-certs: '*'
|
||||||
|
@ -22,7 +22,10 @@ build:
|
||||||
- go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}/bin/ollama' .
|
- go build -ldflags="$GO_LDFLAGS" -o '{{prefix}}/bin/ollama' .
|
||||||
env:
|
env:
|
||||||
GO_LDFLAGS:
|
GO_LDFLAGS:
|
||||||
|
# versions older than 0.1.30
|
||||||
- -X github.com/jmorganca/ollama/version.Version={{version}}
|
- -X github.com/jmorganca/ollama/version.Version={{version}}
|
||||||
|
# new versions
|
||||||
|
- -X github.com/ollama/ollama/version.Version={{version}}
|
||||||
linux:
|
linux:
|
||||||
GO_LDFLAGS:
|
GO_LDFLAGS:
|
||||||
# else segfaults
|
# else segfaults
|
||||||
|
|
Loading…
Reference in a new issue