mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2026-01-05 06:11:49 +03:00
Use new production=yes option
Equivalent to debug_symbols=no use_lto=yes use_static_cpp=yes. We keep LTO disabled for iOS as users need to relink on deploy, and that's very slow and memory hungry with LTO.
This commit is contained in:
@@ -6,7 +6,7 @@ set -e
|
|||||||
|
|
||||||
export BUILD_NAME=official
|
export BUILD_NAME=official
|
||||||
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
||||||
export OPTIONS="debug_symbols=no"
|
export OPTIONS="production=yes"
|
||||||
export OPTIONS_MONO="module_mono_enabled=yes mono_static=no"
|
export OPTIONS_MONO="module_mono_enabled=yes mono_static=no"
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,9 @@ set -e
|
|||||||
|
|
||||||
export BUILD_NAME=official
|
export BUILD_NAME=official
|
||||||
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
||||||
export OPTIONS="debug_symbols=no"
|
# Keep LTO disabled for iOS - it works but it makes linking apps on deploy very slow,
|
||||||
|
# which is seen as a regression in the current workflow.
|
||||||
|
export OPTIONS="production=yes use_lto=no"
|
||||||
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
|
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -e
|
|||||||
|
|
||||||
export BUILD_NAME=official
|
export BUILD_NAME=official
|
||||||
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
||||||
export OPTIONS="debug_symbols=no use_lto=yes"
|
export OPTIONS="production=yes"
|
||||||
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/mono-installs/wasm-runtime-release use_lto=no"
|
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/mono-installs/wasm-runtime-release use_lto=no"
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -e
|
|||||||
|
|
||||||
export BUILD_NAME=official
|
export BUILD_NAME=official
|
||||||
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
||||||
export OPTIONS="debug_symbols=no use_lto=yes"
|
export OPTIONS="production=yes"
|
||||||
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
|
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -e
|
|||||||
|
|
||||||
export BUILD_NAME=official
|
export BUILD_NAME=official
|
||||||
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
||||||
export OPTIONS="osxcross_sdk=darwin20 debug_symbols=no"
|
export OPTIONS="osxcross_sdk=darwin20 production=yes"
|
||||||
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/dependencies/mono"
|
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/dependencies/mono"
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -e
|
|||||||
|
|
||||||
export BUILD_NAME=official
|
export BUILD_NAME=official
|
||||||
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
||||||
export OPTIONS="debug_symbols=no"
|
export OPTIONS="debug_symbols=no use_static_cpp=no"
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
|
|
||||||
rm -rf godot
|
rm -rf godot
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -e
|
|||||||
|
|
||||||
export BUILD_NAME=official
|
export BUILD_NAME=official
|
||||||
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
||||||
export OPTIONS="debug_symbols=no use_static_cpp=yes use_lto=yes"
|
export OPTIONS="production=yes"
|
||||||
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
|
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
export CC="gcc-9"
|
export CC="gcc-9"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -e
|
|||||||
|
|
||||||
export BUILD_NAME=official
|
export BUILD_NAME=official
|
||||||
export SCONS="call scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
export SCONS="call scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
||||||
export OPTIONS="debug_symbols=no"
|
export OPTIONS="production=yes"
|
||||||
export BUILD_ARCHES="x86 x64 arm"
|
export BUILD_ARCHES="x86 x64 arm"
|
||||||
export ANGLE_SRC_PATH='c:\angle'
|
export ANGLE_SRC_PATH='c:\angle'
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ set -e
|
|||||||
|
|
||||||
export BUILD_NAME=official
|
export BUILD_NAME=official
|
||||||
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
||||||
export OPTIONS="debug_symbols=no use_lto=yes"
|
export OPTIONS="production=yes"
|
||||||
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
|
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
export MONO32_PREFIX=/root/dependencies/mono-32
|
export MONO32_PREFIX=/root/dependencies/mono-32
|
||||||
|
|||||||
Reference in New Issue
Block a user