File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 55# Config
66
77export SCONS=" scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
8- export OPTIONS=" production=yes angle_libs=/root/angle"
8+ export OPTIONS=" production=yes angle_libs=/root/angle mesa_libs=/root/mesa d3d12=yes "
99export OPTIONS_MONO=" module_mono_enabled=yes"
1010export TERM=xterm
1111
Original file line number Diff line number Diff line change @@ -148,6 +148,15 @@ if [ ! -d "deps/angle" ]; then
148148 popd
149149fi
150150
151+ if [ ! -d " deps/mesa" ]; then
152+ echo " Missing Mesa/NIR libraries, downloading them."
153+ mkdir -p deps/mesa
154+ pushd deps/mesa
155+ curl -L -o windows.zip https://github.com/godotengine/godot-nir-static/releases/download/23.1.0-devel-mingw/godot-nir-23.1.0-devel-mingw.zip
156+ unzip windows.zip && rm -f windows.zip
157+ popd
158+ fi
159+
151160# Keystore for Android editor signing
152161# Optional - the config.sh will be copied but if it's not filled in,
153162# it will do an unsigned build.
@@ -199,7 +208,7 @@ mkdir -p ${basedir}/mono-glue
199208${podman_run} -v ${basedir} /build-mono-glue:/root/build localhost/godot-linux:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/mono-glue
200209
201210mkdir -p ${basedir} /out/windows
202- ${podman_run} -v ${basedir} /build-windows:/root/build -v ${basedir} /out/windows:/root/out -v ${basedir} /deps/angle:/root/angle localhost/godot-windows:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/windows
211+ ${podman_run} -v ${basedir} /build-windows:/root/build -v ${basedir} /out/windows:/root/out -v ${basedir} /deps/angle:/root/angle -v ${basedir} /deps/mesa:/root/mesa localhost/godot-windows:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/windows
203212
204213mkdir -p ${basedir} /out/linux
205214${podman_run} -v ${basedir} /build-linux:/root/build -v ${basedir} /out/linux:/root/out localhost/godot-linux:${img_version} bash build/build.sh 2>&1 | tee ${basedir} /out/logs/linux
You can’t perform that action at this time.
0 commit comments