Update entrypoint.sh to use $THREADS for parallel compilation on start if present (#673)

renovate/github.com-imdario-mergo-1.x
Matthew Koski 1 year ago committed by GitHub
parent a1ed6fbd96
commit c2dec387aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      entrypoint.sh

@ -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…
Cancel
Save