Skip to content

Commit 5bc7435

Browse files
authored
Merge pull request #22 from godotengine/production-settings
Use new production=yes option
2 parents 37ecf63 + 2190e23 commit 5bc7435

File tree

9 files changed

+11
-9
lines changed

9 files changed

+11
-9
lines changed

build-android/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="debug_symbols=no"
9+
export OPTIONS="production=yes"
1010
export OPTIONS_MONO="module_mono_enabled=yes mono_static=no"
1111
export TERM=xterm
1212

build-ios/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="debug_symbols=no"
9+
# Keep LTO disabled for iOS - it works but it makes linking apps on deploy very slow,
10+
# which is seen as a regression in the current workflow.
11+
export OPTIONS="production=yes use_lto=no"
1012
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
1113
export TERM=xterm
1214

build-javascript/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="debug_symbols=no use_lto=yes"
9+
export OPTIONS="production=yes"
1010
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/mono-installs/wasm-runtime-release use_lto=no"
1111
export TERM=xterm
1212

build-linux/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="debug_symbols=no use_lto=yes"
9+
export OPTIONS="production=yes"
1010
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
1111
export TERM=xterm
1212

build-macosx/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="osxcross_sdk=darwin20 debug_symbols=no"
9+
export OPTIONS="osxcross_sdk=darwin20 production=yes"
1010
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/dependencies/mono"
1111
export TERM=xterm
1212

build-mono-glue/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="debug_symbols=no"
9+
export OPTIONS="debug_symbols=no use_static_cpp=no"
1010
export TERM=xterm
1111

1212
rm -rf godot

build-server/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="debug_symbols=no use_static_cpp=yes use_lto=yes"
9+
export OPTIONS="production=yes"
1010
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
1111
export TERM=xterm
1212
export CC="gcc-9"

build-uwp/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="call scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="debug_symbols=no"
9+
export OPTIONS="production=yes"
1010
export BUILD_ARCHES="x86 x64 arm"
1111
export ANGLE_SRC_PATH='c:\angle'
1212

build-windows/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66

77
export BUILD_NAME=official
88
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
9-
export OPTIONS="debug_symbols=no use_lto=yes"
9+
export OPTIONS="production=yes"
1010
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
1111
export TERM=xterm
1212
export MONO32_PREFIX=/root/dependencies/mono-32

0 commit comments

Comments
 (0)