mirror of
https://github.com/ivabus/pantry
synced 2024-11-15 04:55:08 +03:00
29 lines
612 B
YAML
29 lines
612 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:
|
|
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 😬
|