From 38cfe882509067a31573f129704cf29a78fa52ed Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 21 Apr 2024 05:11:15 +0200 Subject: [PATCH] FRT build script initial setup. --- misc/build-containers/build_all.sh | 23 +++++++++++++++---- .../engine_build_scripts/frt_arm32.sh | 22 ++++++++++++++++++ .../engine_build_scripts/frt_arm64.sh | 13 +++++++++++ 3 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 misc/build-containers/engine_build_scripts/frt_arm32.sh create mode 100644 misc/build-containers/engine_build_scripts/frt_arm64.sh diff --git a/misc/build-containers/build_all.sh b/misc/build-containers/build_all.sh index 28f78423c..37fa4c9be 100755 --- a/misc/build-containers/build_all.sh +++ b/misc/build-containers/build_all.sh @@ -55,11 +55,26 @@ fi # iOS Build +#docker run ${custom_envvars} \ +# -v ${basedir}/engine_build_scripts:/root/engine_build_scripts \ +# -v ${project_root}:/root/project \ +# -w /root/project pandemonium-ios:${img_version} \ +# bash /root/engine_build_scripts/ios.sh "$@" 2>&1 | tee logs/ios.log + + +# FRT Build arm64 +#docker run ${custom_envvars} \ +# -v ${basedir}/engine_build_scripts:/root/engine_build_scripts \ +# -v ${project_root}:/root/project \ +# -w /root/project pandemonium-frt-arm64v8:${img_version} \ +# bash /root/engine_build_scripts/frt_arm64.sh "$@" 2>&1 | tee logs/frt_arm64.log + +# FRT Build arm32 docker run ${custom_envvars} \ - -v ${basedir}/engine_build_scripts:/root/engine_build_scripts \ - -v ${project_root}:/root/project \ - -w /root/project pandemonium-ios:${img_version} \ - bash /root/engine_build_scripts/ios.sh "$@" 2>&1 | tee logs/ios.log + -v ${basedir}/engine_build_scripts:/root/engine_build_scripts \ + -v ${project_root}:/root/project \ + -w /root/project pandemonium-frt-arm32v7:${img_version} \ + bash /root/engine_build_scripts/frt_arm32.sh "$@" 2>&1 | tee logs/frt_arm32.log # Check files diff --git a/misc/build-containers/engine_build_scripts/frt_arm32.sh b/misc/build-containers/engine_build_scripts/frt_arm32.sh new file mode 100644 index 000000000..0d9683d7b --- /dev/null +++ b/misc/build-containers/engine_build_scripts/frt_arm32.sh @@ -0,0 +1,22 @@ +#!/bin/bash +set -e + +# production=yes + +# FRT templates arm32v6 +scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm32v6 "$@" +scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm32v6 frt_cross=auto "$@" + +# FRT SDL templates arm32v6 +scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm32v6 frt_cross=auto "$@" +scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm32v6 frt_cross=auto "$@" + + +# FRT templates arm32v7 +scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm32v7 frt_cross=auto "$@" +scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm32v7 frt_cross=auto "$@" + +# FRT SDL templates arm32v7 +scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm32v7 frt_cross=auto "$@" +scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm32v7 frt_cross=auto "$@" + diff --git a/misc/build-containers/engine_build_scripts/frt_arm64.sh b/misc/build-containers/engine_build_scripts/frt_arm64.sh new file mode 100644 index 000000000..3e0df8220 --- /dev/null +++ b/misc/build-containers/engine_build_scripts/frt_arm64.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + +# production=yes + +# FRT templates arm64v8 +scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm64v8 frt_cross=auto "$@" +scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt frt_arch=arm64v8 frt_cross=auto "$@" + +# FRT SDL templates arm64v8 +scons tools=no target=release_debug custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm64v8 frt_cross=auto "$@" +scons tools=no target=release custom_modules_shared=no debug_symbols=no platform=frt_sdl frt_arch=arm64v8 frt_cross=auto "$@" +