mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
32 lines
660 B
YAML
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 😬
|