diff --git a/misc/build-containers/podman_build_all.sh b/misc/build-containers/podman_build_all.sh index c590f4aa3..a3b9020aa 100755 --- a/misc/build-containers/podman_build_all.sh +++ b/misc/build-containers/podman_build_all.sh @@ -16,54 +16,80 @@ img_version=pe mkdir -p logs rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-windows:${img_version} scons bew_strip -j4 . 2>&1 | tee logs/bew.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-windows:${img_version} scons tools=yes target=release_debug debug_symbols=no platform=windows -j4 . 2>&1 | tee logs/bew.log rm -f modules/modules_enabled.gen.h -#$podman run -v ${project_root}:/root/project -w /root/project pandemonium-windows:${img_version} scons bewd_strip -j4 . 2>&1 | tee logs/bewd.log +#$podman run -v ${project_root}:/root/project -w /root/project pandemonium-windows:${img_version} scons tools=yes target=debug custom_modules_shared=no debug_symbols=no platform=windows -j4 . 2>&1 | tee logs/bewd.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-windows:${img_version} scons bw_strip -j4 . 2>&1 | tee logs/bw.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-windows:${img_version} scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=windows -j4 . 2>&1 | tee logs/bw.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-windows:${img_version} scons bwr_strip -j4 . 2>&1 | tee logs/bwr.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-windows:${img_version} scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=windows -j4 . 2>&1 | tee logs/bwr.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-linux:${img_version} scons bel_strip -j4 . 2>&1 | tee logs/bel.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-linux:${img_version} scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=x11 -j4 . 2>&1 | tee logs/bel.log rm -f modules/modules_enabled.gen.h -#$podman run -v ${project_root}:/root/project -w /root/project pandemonium-linux:${img_version} scons beld_strip -j4 . 2>&1 | tee logs/beld.log +#$podman run -v ${project_root}:/root/project -w /root/project pandemonium-linux:${img_version} scons tools=yes target=debug custom_modules_shared=no debug_symbols=no platform=x11 -j4 . 2>&1 | tee logs/beld.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-linux:${img_version} scons bl_strip -j4 . 2>&1 | tee logs/bl.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-linux:${img_version} scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=x11 -j4 . 2>&1 | tee logs/bl.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-linux:${img_version} scons blr_strip -j4 . 2>&1 | tee logs/blr.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-linux:${img_version} scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=x11 -j4 . 2>&1 | tee logs/blr.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-javascript:${img_version} bash -c 'source /root/emsdk_2.0.25/emsdk_env.sh;scons bj_strip -j4' . 2>&1 | tee logs/bj.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-javascript:${img_version} bash -c 'source /root/emsdk_2.0.25/emsdk_env.sh;scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=javascript -j4' . 2>&1 | tee logs/bj.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-javascript:${img_version} bash -c 'source /root/emsdk_2.0.25/emsdk_env.sh;scons bjr_strip -j4' . 2>&1 | tee logs/bjr.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-javascript:${img_version} bash -c 'source /root/emsdk_2.0.25/emsdk_env.sh;scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=javascript -j4' . 2>&1 | tee logs/bjr.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-javascript:${img_version} bash -c 'source /root/emsdk_2.0.25/emsdk_env.sh;scons bej_strip_threads -j4' . 2>&1 | tee logs/bej.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-javascript:${img_version} bash -c 'source /root/emsdk_2.0.25/emsdk_env.sh;scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no threads_enabled=yes platform=javascript -j4' . 2>&1 | tee logs/bej.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons ba_strip -j4 . 2>&1 | tee logs/ba.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=android android_arch=armv7 -j4 . 2>&1 | tee logs/ba.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons bar_strip -j4 . 2>&1 | tee logs/bar.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=android android_arch=arm64v8 -j4 . 2>&1 | tee logs/ba.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons bae_strip -j4 . 2>&1 | tee logs/bae.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=android android_arch=x86 -j4 . 2>&1 | tee logs/ba.log rm -f modules/modules_enabled.gen.h +cd platform/android/java/ +./gradlew generateGodotTemplates +cd ../../.. + +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=android android_arch=armv7 -j4 . 2>&1 | tee logs/bar.log +rm -f modules/modules_enabled.gen.h +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=android android_arch=arm64v8 -j4 . 2>&1 | tee logs/bar.log +rm -f modules/modules_enabled.gen.h +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=android android_arch=x86 -j4 . 2>&1 | tee logs/bar.log +rm -f modules/modules_enabled.gen.h + +cd platform/android/java/ +./gradlew generateGodotTemplates +cd ../../.. + +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=android android_arch=armv7 -j4 . 2>&1 | tee logs/bae.log +rm -f modules/modules_enabled.gen.h +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=android android_arch=arm64v8 -j4 . 2>&1 | tee logs/bae.log +rm -f modules/modules_enabled.gen.h +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-android:${img_version} scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=android android_arch=x86 -j4 . 2>&1 | tee logs/bae.log +rm -f modules/modules_enabled.gen.h + +cd platform/android/java/ +./gradlew generateGodotEditor +cd ../../.. + #osx -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons bex_strip arch=x86_64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bex_x86_64.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=osx arch=x86_64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bex_x86_64.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons bex_strip arch=arm64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bex_arm64.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons tools=yes target=release_debug custom_modules_shared=no debug_symbols=no platform=osx arch=arm64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bex_arm64.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons bx_strip arch=x86_64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bx_x86_64.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=osx arch=x86_64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bx_x86_64.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons bx_strip arch=arm64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bx_arm64.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=osx arch=arm64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bx_arm64.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons bxr_strip arch=x86_64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bxr_x86_64.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=osx arch=x86_64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bxr_x86_64.log rm -f modules/modules_enabled.gen.h -$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons bxr_strip arch=arm64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bxr_arm64.log +$podman run -v ${project_root}:/root/project -w /root/project pandemonium-osx:${img_version} scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=osx arch=arm64 -j4 osxcross_sdk=darwin20.4 . 2>&1 | tee logs/bxr_arm64.log rm -f modules/modules_enabled.gen.h #lipo @@ -76,7 +102,6 @@ $podman run -v ${project_root}:/root/project -w /root/project/tools/osx pandemon # $podman run -v ${project_root}:/root/project -i -w /root/project -t pandemonium-windows:${img_version} scons bew -j4 rm -f modules/modules_enabled.gen.h - # Check files cd ./bin/