mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
76c60ccaf6
commit
0541068b8b
1 changed files with 16 additions and 11 deletions
|
@ -20,20 +20,25 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
freedesktop.org/pkg-config: ~0.29
|
freedesktop.org/pkg-config: ~0.29
|
||||||
gnu.org/patch: '*'
|
gnu.org/patch: '*'
|
||||||
script: |
|
script:
|
||||||
patch -p1 < props/illegal_instruction.patch
|
- run: patch -p1 < props/illegal_instruction.patch
|
||||||
|
if: <1.4.3
|
||||||
|
|
||||||
make --jobs {{ hw.concurrency }}
|
- make --jobs {{ hw.concurrency }}
|
||||||
make stream --jobs {{ hw.concurrency }}
|
- make stream --jobs {{ hw.concurrency }}
|
||||||
make command --jobs {{ hw.concurrency }}
|
- make command --jobs {{ hw.concurrency }}
|
||||||
|
|
||||||
mkdir -p {{prefix}}/bin {{prefix}}/tbin {{prefix}}/share
|
- mkdir -p {{prefix}}/bin {{prefix}}/tbin {{prefix}}/share
|
||||||
mv main stream command {{prefix}}/tbin
|
- mv main stream command {{prefix}}/tbin
|
||||||
chmod +x {{prefix}}/tbin/*
|
- chmod +x {{prefix}}/tbin/*
|
||||||
|
|
||||||
mv models/download-ggml-model.sh {{prefix}}/tbin/download-ggml-model.sh
|
- mv models/download-ggml-model.sh {{prefix}}/tbin/download-ggml-model.sh
|
||||||
mv props/whisper.cpp props/whisper-fetch {{prefix}}/bin
|
- mv props/whisper.cpp props/whisper-fetch {{prefix}}/bin
|
||||||
mv examples/command/commands.txt {{prefix}}/share
|
- mv examples/command/commands.txt {{prefix}}/share
|
||||||
|
env:
|
||||||
|
darwin/aarch64:
|
||||||
|
# https://github.com/ggerganov/whisper.cpp/issues/1367
|
||||||
|
WHISPER_NO_METAL: 1
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue