mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
c137ff6003
commit
c0973b0a46
1 changed files with 7 additions and 2 deletions
|
@ -6,8 +6,7 @@ versions:
|
||||||
github: ggerganov/llama.cpp/tags
|
github: ggerganov/llama.cpp/tags
|
||||||
strip: /^b/
|
strip: /^b/
|
||||||
|
|
||||||
display-name:
|
display-name: LLaMA.cpp
|
||||||
LLaMA.cpp
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/llama.cpp
|
- bin/llama.cpp
|
||||||
|
@ -27,6 +26,7 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/coreutils: '*'
|
gnu.org/coreutils: '*'
|
||||||
git-scm.org: '*'
|
git-scm.org: '*'
|
||||||
|
curl.se: '*'
|
||||||
env:
|
env:
|
||||||
VIRTUAL_ENV: ${{prefix}}/venv
|
VIRTUAL_ENV: ${{prefix}}/venv
|
||||||
CC: clang
|
CC: clang
|
||||||
|
@ -38,6 +38,11 @@ build:
|
||||||
sed -i.bak -e's/\(MK_.* -march=native -mtune=native\)/#\1/g' Makefile
|
sed -i.bak -e's/\(MK_.* -march=native -mtune=native\)/#\1/g' Makefile
|
||||||
rm Makefile.bak
|
rm Makefile.bak
|
||||||
if: linux/x86-64
|
if: linux/x86-64
|
||||||
|
|
||||||
|
# this commit breaks linux/aarch64 - remove once fixed
|
||||||
|
- run: curl -LSs 'https://github.com/ggerganov/llama.cpp/pull/4630/commits/42f5246effafddcf87d67656b58e95030f4bc454.patch' | patch -p1 -R
|
||||||
|
if: '>=1705'
|
||||||
|
|
||||||
- make --jobs {{hw.concurrency}}
|
- make --jobs {{hw.concurrency}}
|
||||||
|
|
||||||
- |
|
- |
|
||||||
|
|
Loading…
Reference in a new issue