From c2dec387aad35a888aa94d596560a543a7877f67 Mon Sep 17 00:00:00 2001 From: Matthew Koski Date: Mon, 26 Jun 2023 07:48:24 -0500 Subject: [PATCH] Update entrypoint.sh to use $THREADS for parallel compilation on start if present (#673) --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 89feaf67..eaffed98 100755 --- a/entrypoint.sh +++ b/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 "$@" \ No newline at end of file +./local-ai "$@"