mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
29 lines
634 B
YAML
29 lines
634 B
YAML
|
distributable:
|
||
|
url: https://github.com/antimatter15/alpaca.cpp/archive/refs/tags/81bd894.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
- 2023.03.21
|
||
|
|
||
|
provides:
|
||
|
- bin/alpaca.cpp
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
tea.xyz/gx/make: '*'
|
||
|
freedesktop.org/pkg-config: ~0.29
|
||
|
gnu.org/wget: '*'
|
||
|
script: |
|
||
|
mkdir -p {{prefix}}/bin {{prefix}}/tbin {{prefix}}/share
|
||
|
|
||
|
make chat
|
||
|
mv chat {{prefix}}/tbin/alpaca.cpp
|
||
|
|
||
|
mv props/alpaca.cpp {{prefix}}/bin
|
||
|
mv props/alpaca.cpp-fetch-model {{prefix}}/tbin
|
||
|
|
||
|
test: |
|
||
|
{{prefix}}/tbin/alpaca.cpp --help
|
||
|
# testing more than this requires downloading the models 😬
|