diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2023-12-11 23:36:07 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2023-12-11 23:36:07 +0100 |
commit | fd090dde3027ccf709a3394755ef608d2cbef457 (patch) | |
tree | d24c6270491495a5e924c76b2486c3d3a319ea93 /godot-update | |
parent | 34049e8fb31f5277914a91b3ec91b29e93ab4560 (diff) | |
download | bin-fd090dde3027ccf709a3394755ef608d2cbef457.zip bin-fd090dde3027ccf709a3394755ef608d2cbef457.tar.gz |
gotdot-update, let scons determine the number of proc to run
Diffstat (limited to 'godot-update')
-rwxr-xr-x | godot-update | 6 |
1 files 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" |