mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(ollama)
remove build hack (addressed upstream: https://github.com/jmorganca/ollama/pull/1780)
This commit is contained in:
parent
a45dc8a02f
commit
19de1c5c33
1 changed files with 0 additions and 8 deletions
|
@ -15,14 +15,6 @@ build:
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
if: '>=0.0.18'
|
if: '>=0.0.18'
|
||||||
# 0.1.18 seems to have changed these, and it's breaking x86-64 darwin builds
|
|
||||||
- run: |
|
|
||||||
if test -f gen_darwin.sh; then
|
|
||||||
sed -i 's/-DLLAMA_METAL=on/-DLLAMA_METAL=off -DLLAMA_NATIVE=off -DLLAMA_AVX=on -DLLAMA_AVX2=off -DLLAMA_AVX512=off -DLLAMA_FMA=off -DLLAMA_F16C=on/' gen_darwin.sh
|
|
||||||
fi
|
|
||||||
if: darwin/x86-64
|
|
||||||
working-directory: llm/llama.cpp
|
|
||||||
|
|
||||||
- go generate ./...
|
- go generate ./...
|
||||||
- go build .
|
- go build .
|
||||||
- mkdir -p {{prefix}}/bin
|
- mkdir -p {{prefix}}/bin
|
||||||
|
|
Loading…
Reference in a new issue