mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(llama.cpp)
convert to `bkpyvenv` closes #4721 closes #4722 closes #4723
This commit is contained in:
parent
45280ada36
commit
f35308a401
|
@ -19,7 +19,6 @@ platforms:
|
|||
# Illegal instruction: 4 on darwin/x86-64
|
||||
|
||||
dependencies:
|
||||
python.org: ~3.11
|
||||
pkgx.sh: ^1
|
||||
|
||||
build:
|
||||
|
@ -27,6 +26,7 @@ build:
|
|||
gnu.org/coreutils: '*'
|
||||
git-scm.org: '*'
|
||||
curl.se: '*'
|
||||
python.org: ~3.11
|
||||
env:
|
||||
VIRTUAL_ENV: ${{prefix}}/venv
|
||||
CC: clang
|
||||
|
@ -54,15 +54,12 @@ build:
|
|||
mkdir -p {{prefix}}/share
|
||||
mv prompts {{prefix}}/share
|
||||
|
||||
- |
|
||||
install -D convert.py $VIRTUAL_ENV/bin/convert.py
|
||||
python-venv-stubber.sh convert.py
|
||||
- install -D convert.py $VIRTUAL_ENV/bin/convert.py
|
||||
|
||||
- |
|
||||
python -m venv $VIRTUAL_ENV
|
||||
source $VIRTUAL_ENV/bin/activate
|
||||
pip install -r requirements.txt
|
||||
deactivate
|
||||
bkpyvenv stage {{prefix}} {{version}}
|
||||
$VIRTUAL_ENV/bin/pip install -r requirements.txt
|
||||
bkpyvenv seal {{prefix}} convert.py
|
||||
|
||||
test:
|
||||
'{{prefix}}/bin/llama.cpp --help'
|
||||
|
|
Loading…
Reference in a new issue