mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
try out linux fix (#4977)
* 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>
This commit is contained in:
parent
5e35d79d0a
commit
45b0360399
1 changed files with 8 additions and 6 deletions
|
@ -2,10 +2,6 @@ distributable:
|
|||
url: git+https://github.com/mudler/LocalAI
|
||||
ref: ${{version.tag}}
|
||||
|
||||
# weird c++ stdlib linkage error on linux
|
||||
platforms:
|
||||
- darwin
|
||||
|
||||
display-name: LocalAI
|
||||
|
||||
versions:
|
||||
|
@ -20,6 +16,13 @@ build:
|
|||
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
|
||||
|
@ -27,5 +30,4 @@ build:
|
|||
provides:
|
||||
- bin/local-ai
|
||||
|
||||
test:
|
||||
local-ai --version | grep {{version}}
|
||||
test: local-ai --version | grep {{version}}
|
||||
|
|
Loading…
Reference in a new issue