pantry/projects/github.com/antimatter15/alpaca.cpp/package.yml
2023-07-24 16:43:32 -04:00

32 lines
660 B
YAML

warnings:
- deprecated
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 😬