mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
fix(llama.cpp)
convert to `bkpyvenv` closes #4721 closes #4722 closes #4723
This commit is contained in:
parent
45280ada36
commit
f35308a401
1 changed files with 5 additions and 8 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue