From fd090dde3027ccf709a3394755ef608d2cbef457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 11 Dec 2023 23:36:07 +0100 Subject: gotdot-update, let scons determine the number of proc to run --- godot-update | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/godot-update b/godot-update index 9c8ab09..9b99156 100755 --- a/godot-update +++ b/godot-update @@ -49,8 +49,6 @@ fi function build() { - J=$(nproc) - export CXX=/usr/lib/ccache/bin/clang++ export CC=/usr/lib/ccache/bin/clang @@ -63,7 +61,7 @@ function build() # https://docs.godotengine.org/en/3.2/development/compiling/compiling_for_x11.html echo -e "build : ${RED}$platform$RESET target=$RED$target$RESET" - time scons -j$J platform=$platform target=$target tools=yes colored=yes pulseaudio=no bits=64 $common_flags warnings=no #custom_modules=../modules + time scons platform=$platform target=$target tools=yes colored=yes pulseaudio=no bits=64 $common_flags warnings=no #custom_modules=../modules if [ $ANDROID -eq 1 ] then @@ -88,7 +86,7 @@ function build() aarch="arch" fi echo -e "build : ${RED}android$RESET $aarch=$RED$arch$RESET target=$RED$target$RESET ndk_platform=$RED$ndk_platform$RESET" - time scons -j$J platform=android target=$target $aarch=$arch ndk_platform=$ndk_platform tools=no disable_3d=true $common_flags + time scons platform=android target=$target $aarch=$arch ndk_platform=$ndk_platform tools=no disable_3d=true $common_flags done done echo -e "${RED}gradlew build$RESET" -- cgit v1.1-2-g2b99