|
7 | 7 | export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
8 | 8 | export OPTIONS="production=yes"
|
9 | 9 | export OPTIONS_MONO="module_mono_enabled=yes"
|
| 10 | +export OPTIONS_ARM="lto=none" |
10 | 11 | export TERM=xterm
|
11 | 12 |
|
12 | 13 | rm -rf godot
|
@@ -47,26 +48,26 @@ if [ "${CLASSICAL}" == "1" ]; then
|
47 | 48 |
|
48 | 49 | export PATH="${GODOT_SDK_LINUX_ARM64}/bin:${BASE_PATH}"
|
49 | 50 |
|
50 |
| - $SCONS platform=linuxbsd arch=arm64 $OPTIONS target=editor |
| 51 | + $SCONS platform=linuxbsd arch=arm64 $OPTIONS $OPTIONS_ARM target=editor |
51 | 52 | mkdir -p /root/out/arm64/tools
|
52 | 53 | cp -rvp bin/* /root/out/arm64/tools
|
53 | 54 | rm -rf bin
|
54 | 55 |
|
55 |
| - $SCONS platform=linuxbsd arch=arm64 $OPTIONS target=template_debug |
56 |
| - $SCONS platform=linuxbsd arch=arm64 $OPTIONS target=template_release |
| 56 | + $SCONS platform=linuxbsd arch=arm64 $OPTIONS $OPTIONS_ARM target=template_debug |
| 57 | + $SCONS platform=linuxbsd arch=arm64 $OPTIONS $OPTIONS_ARM target=template_release |
57 | 58 | mkdir -p /root/out/arm64/templates
|
58 | 59 | cp -rvp bin/* /root/out/arm64/templates
|
59 | 60 | rm -rf bin
|
60 | 61 |
|
61 | 62 | export PATH="${GODOT_SDK_LINUX_ARM32}/bin:${BASE_PATH}"
|
62 | 63 |
|
63 |
| - $SCONS platform=linuxbsd arch=arm32 $OPTIONS target=editor |
| 64 | + $SCONS platform=linuxbsd arch=arm32 $OPTIONS $OPTIONS_ARM target=editor |
64 | 65 | mkdir -p /root/out/arm32/tools
|
65 | 66 | cp -rvp bin/* /root/out/arm32/tools
|
66 | 67 | rm -rf bin
|
67 | 68 |
|
68 |
| - $SCONS platform=linuxbsd arch=arm32 $OPTIONS target=template_debug |
69 |
| - $SCONS platform=linuxbsd arch=arm32 $OPTIONS target=template_release |
| 69 | + $SCONS platform=linuxbsd arch=arm32 $OPTIONS $OPTIONS_ARM target=template_debug |
| 70 | + $SCONS platform=linuxbsd arch=arm32 $OPTIONS $OPTIONS_ARM target=template_release |
70 | 71 | mkdir -p /root/out/arm32/templates
|
71 | 72 | cp -rvp bin/* /root/out/arm32/templates
|
72 | 73 | rm -rf bin
|
@@ -110,28 +111,28 @@ if [ "${MONO}" == "1" ]; then
|
110 | 111 |
|
111 | 112 | export PATH="${GODOT_SDK_LINUX_ARM64}/bin:${BASE_PATH}"
|
112 | 113 |
|
113 |
| - $SCONS platform=linuxbsd arch=arm64 $OPTIONS $OPTIONS_MONO target=editor |
| 114 | + $SCONS platform=linuxbsd arch=arm64 $OPTIONS $OPTIONS_MONO $OPTIONS_ARM target=editor |
114 | 115 | ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd
|
115 | 116 | mkdir -p /root/out/arm64/tools-mono
|
116 | 117 | cp -rvp bin/* /root/out/arm64/tools-mono
|
117 | 118 | rm -rf bin
|
118 | 119 |
|
119 |
| - $SCONS platform=linuxbsd arch=arm64 $OPTIONS $OPTIONS_MONO target=template_debug |
120 |
| - $SCONS platform=linuxbsd arch=arm64 $OPTIONS $OPTIONS_MONO target=template_release |
| 120 | + $SCONS platform=linuxbsd arch=arm64 $OPTIONS $OPTIONS_MONO $OPTIONS_ARM target=template_debug |
| 121 | + $SCONS platform=linuxbsd arch=arm64 $OPTIONS $OPTIONS_MONO $OPTIONS_ARM target=template_release |
121 | 122 | mkdir -p /root/out/arm64/templates-mono
|
122 | 123 | cp -rvp bin/* /root/out/arm64/templates-mono
|
123 | 124 | rm -rf bin
|
124 | 125 |
|
125 | 126 | export PATH="${GODOT_SDK_LINUX_ARM32}/bin:${BASE_PATH}"
|
126 | 127 |
|
127 |
| - $SCONS platform=linuxbsd arch=arm32 $OPTIONS $OPTIONS_MONO target=editor |
| 128 | + $SCONS platform=linuxbsd arch=arm32 $OPTIONS $OPTIONS_MONO $OPTIONS_ARM target=editor |
128 | 129 | ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd
|
129 | 130 | mkdir -p /root/out/arm32/tools-mono
|
130 | 131 | cp -rvp bin/* /root/out/arm32/tools-mono
|
131 | 132 | rm -rf bin
|
132 | 133 |
|
133 |
| - $SCONS platform=linuxbsd arch=arm32 $OPTIONS $OPTIONS_MONO target=template_debug |
134 |
| - $SCONS platform=linuxbsd arch=arm32 $OPTIONS $OPTIONS_MONO target=template_release |
| 134 | + $SCONS platform=linuxbsd arch=arm32 $OPTIONS $OPTIONS_MONO $OPTIONS_ARM target=template_debug |
| 135 | + $SCONS platform=linuxbsd arch=arm32 $OPTIONS $OPTIONS_MONO $OPTIONS_ARM target=template_release |
135 | 136 | mkdir -p /root/out/arm32/templates-mono
|
136 | 137 | cp -rvp bin/* /root/out/arm32/templates-mono
|
137 | 138 | rm -rf bin
|
|
0 commit comments