mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
Update entrypoint.sh to use $THREADS for parallel compilation on start if present (#673)
This commit is contained in:
parent
a1ed6fbd96
commit
c2dec387aa
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ cd /build
|
|||
|
||||
if [ "$REBUILD" != "false" ]; then
|
||||
rm -rf ./local-ai
|
||||
ESPEAK_DATA=/build/lib/Linux-$(uname -m)/piper_phonemize/lib/espeak-ng-data make build
|
||||
ESPEAK_DATA=/build/lib/Linux-$(uname -m)/piper_phonemize/lib/espeak-ng-data make build -j${THREADS:-1}
|
||||
fi
|
||||
|
||||
./local-ai "$@"
|
||||
./local-ai "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue