Skip to content

Commit f40716e

Browse files
author
Andrii Doroshenko (Xrayez)
committed
Make BUILD_NAME globally configurable
1 parent 5bc7435 commit f40716e

File tree

11 files changed

+8
-10
lines changed

11 files changed

+8
-10
lines changed

build-android/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
# Config
66

7-
export BUILD_NAME=official
87
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
98
export OPTIONS="production=yes"
109
export OPTIONS_MONO="module_mono_enabled=yes mono_static=no"

build-ios/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
# Config
66

7-
export BUILD_NAME=official
87
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
98
# Keep LTO disabled for iOS - it works but it makes linking apps on deploy very slow,
109
# which is seen as a regression in the current workflow.

build-javascript/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
# Config
66

7-
export BUILD_NAME=official
87
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
98
export OPTIONS="production=yes"
109
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/mono-installs/wasm-runtime-release use_lto=no"

build-linux/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
# Config
66

7-
export BUILD_NAME=official
87
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
98
export OPTIONS="production=yes"
109
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"

build-macosx/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
# Config
66

7-
export BUILD_NAME=official
87
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
98
export OPTIONS="osxcross_sdk=darwin20 production=yes"
109
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/dependencies/mono"

build-mono-glue/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
# Config
66

7-
export BUILD_NAME=official
87
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
98
export OPTIONS="debug_symbols=no use_static_cpp=no"
109
export TERM=xterm

build-server/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
# Config
66

7-
export BUILD_NAME=official
87
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
98
export OPTIONS="production=yes"
109
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"

build-uwp/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
# Config
66

7-
export BUILD_NAME=official
87
export SCONS="call scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
98
export OPTIONS="production=yes"
109
export BUILD_ARCHES="x86 x64 arm"

build-windows/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
# Config
66

7-
export BUILD_NAME=official
87
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
98
export OPTIONS="production=yes"
109
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"

build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ if [ ! -e config.sh ]; then
1313
fi
1414
source ./config.sh
1515

16+
if [ -z "${BUILD_NAME}" ]; then
17+
export BUILD_NAME="custom_build"
18+
fi
19+
1620
if [ -z "${NUM_CORES}" ]; then
1721
export NUM_CORES=16
1822
fi
@@ -162,7 +166,7 @@ export basedir="$(pwd)"
162166
mkdir -p ${basedir}/out
163167
mkdir -p ${basedir}/out/logs
164168

165-
export podman_run="${podman} run -it --rm --env NUM_CORES --env CLASSICAL=${build_classical} --env MONO=${build_mono} -v ${basedir}/godot.tar.gz:/root/godot.tar.gz -v ${basedir}/mono-glue:/root/mono-glue -w /root/"
169+
export podman_run="${podman} run -it --rm --env BUILD_NAME --env NUM_CORES --env CLASSICAL=${build_classical} --env MONO=${build_mono} -v ${basedir}/godot.tar.gz:/root/godot.tar.gz -v ${basedir}/mono-glue:/root/mono-glue -w /root/"
166170
export img_version=3.2-mono-6.12.0.114
167171

168172
# Get AOT compilers from their containers.

0 commit comments

Comments
 (0)