mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
45b0360399
* try out linux fix * do what the makefile wants * Buildmosde pie * Update package.yml * Update package.yml --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
34 lines
600 B
YAML
34 lines
600 B
YAML
distributable:
|
|
url: git+https://github.com/mudler/LocalAI
|
|
ref: ${{version.tag}}
|
|
|
|
display-name: LocalAI
|
|
|
|
versions:
|
|
github: mudler/LocalAI
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: ^1.21
|
|
cmake.org: ^3
|
|
grpc.io: ^1
|
|
protobuf.dev: ^25
|
|
gnu.org/wget: ^1
|
|
gnu.org/coreutils: ^9
|
|
git-scm.org: ^2
|
|
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: local-ai --version | grep {{version}}
|