fix(llama.cpp)

convert to `bkpyvenv`

closes #4721
closes #4722
closes #4723
This commit is contained in:
Jacob Heider 2024-01-04 12:55:53 -05:00 committed by Jacob Heider
parent 45280ada36
commit f35308a401

View file

@ -19,7 +19,6 @@ platforms:
# Illegal instruction: 4 on darwin/x86-64 # Illegal instruction: 4 on darwin/x86-64
dependencies: dependencies:
python.org: ~3.11
pkgx.sh: ^1 pkgx.sh: ^1
build: build:
@ -27,6 +26,7 @@ build:
gnu.org/coreutils: '*' gnu.org/coreutils: '*'
git-scm.org: '*' git-scm.org: '*'
curl.se: '*' curl.se: '*'
python.org: ~3.11
env: env:
VIRTUAL_ENV: ${{prefix}}/venv VIRTUAL_ENV: ${{prefix}}/venv
CC: clang CC: clang
@ -54,15 +54,12 @@ build:
mkdir -p {{prefix}}/share mkdir -p {{prefix}}/share
mv prompts {{prefix}}/share mv prompts {{prefix}}/share
- | - install -D convert.py $VIRTUAL_ENV/bin/convert.py
install -D convert.py $VIRTUAL_ENV/bin/convert.py
python-venv-stubber.sh convert.py
- | - |
python -m venv $VIRTUAL_ENV bkpyvenv stage {{prefix}} {{version}}
source $VIRTUAL_ENV/bin/activate $VIRTUAL_ENV/bin/pip install -r requirements.txt
pip install -r requirements.txt bkpyvenv seal {{prefix}} convert.py
deactivate
test: test:
'{{prefix}}/bin/llama.cpp --help' '{{prefix}}/bin/llama.cpp --help'