From 7c8b44576a820dcb5f05c6796622793fa32dd499 Mon Sep 17 00:00:00 2001 From: Matus Kysel Date: Tue, 27 May 2025 14:10:08 +0200 Subject: [PATCH] fix building to use JOBS flag --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 69e6190cc1..af7756c67e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -98,7 +98,7 @@ pushd "$abs_build_dir" echo "Building Hive!" cmake -DCMAKE_BUILD_TYPE=Release -GNinja "${CMAKE_ARGS[@]}" "$abs_src_dir" -ninja "$@" +ninja -j"$JOBS" "$@" if [[ "$CLEAN_AFTER_BUILD" == "true" ]]; then echo "Cleaning up after build..." @@ -152,4 +152,4 @@ if [[ -d "$HIVED_INSTALLATION_DIR" ]]; then "$HIVED_INSTALLATION_DIR/" fi -fi \ No newline at end of file +fi