From f35308a401d8dd5e8253e2cc53952a0e6670ee6d Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 4 Jan 2024 12:55:53 -0500 Subject: [PATCH] fix(llama.cpp) convert to `bkpyvenv` closes #4721 closes #4722 closes #4723 --- projects/github.com/ggerganov/llama.cpp/package.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/projects/github.com/ggerganov/llama.cpp/package.yml b/projects/github.com/ggerganov/llama.cpp/package.yml index 1cc9db9d..51c0c1af 100644 --- a/projects/github.com/ggerganov/llama.cpp/package.yml +++ b/projects/github.com/ggerganov/llama.cpp/package.yml @@ -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'