pantry/projects/github.com/nomic-ai/gpt4all/package.yml
2023-10-01 20:41:57 -04:00

25 lines
520 B
YAML

distributable:
url: https://github.com/zanussbaum/gpt4all.cpp/archive/41e992905c4de16b0071338caeb730923323c5f9.tar.gz
strip-components: 1
versions:
- 2023.03.29
provides:
- bin/gpt4all
build:
script: |
mkdir -p {{prefix}}/bin {{prefix}}/tbin
make chat
mv chat {{prefix}}/tbin/gpt4all
mv props/gpt4all {{prefix}}/bin
mv props/gpt4all-fetch-model {{prefix}}/tbin
test: |
{{prefix}}/tbin/gpt4all --help
# testing more than this requires downloading the models 😬
entrypoint: gpt4all