mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
ede2c6176d
closes #6590
44 lines
847 B
YAML
44 lines
847 B
YAML
distributable:
|
|
url: git+https://github.com/mudler/LocalAI
|
|
ref: ${{version.tag}}
|
|
|
|
display-name: LocalAI
|
|
|
|
versions:
|
|
github: mudler/LocalAI
|
|
|
|
companions:
|
|
linux:
|
|
openssl.org: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: ^1.21
|
|
cmake.org: ^3
|
|
grpc.io: ^1
|
|
gnu.org/wget: ^1
|
|
gnu.org/coreutils: ^9
|
|
git-scm.org: ^2
|
|
google.com/protobuf-go: ^1
|
|
grpc.io/grpc-go: ^1
|
|
env:
|
|
linux:
|
|
# one of these will do it. probably.
|
|
CGO_LDFLAGS:
|
|
- -lstdc++fs
|
|
LD_FLAGS:
|
|
- -buildmode=pie
|
|
script:
|
|
- make build
|
|
- install -D local-ai {{prefix}}/bin/local-ai
|
|
|
|
provides:
|
|
- bin/local-ai
|
|
|
|
test:
|
|
- run: local-ai --version | grep {{version}}
|
|
if: <2.13
|
|
- run: "local-ai --help | grep 'Version: v{{version}}'"
|
|
if: '>=2.13<2.16'
|
|
- run: local-ai models list | grep ' - localai@'
|
|
if: '>=2.16'
|