From 92614b91d7b2e5ceb4db28c640314df7fec3d96f Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 29 Jun 2023 11:57:09 +0200 Subject: [PATCH] fix: split build threads from running threads (#703) Signed-off-by: mudler --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index eaffed98..2bd8d022 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 -j${THREADS:-1} + ESPEAK_DATA=/build/lib/Linux-$(uname -m)/piper_phonemize/lib/espeak-ng-data make build -j${BUILD_PARALLELISM:-1} fi ./local-ai "$@"