From 288f6f1a480d4062ea7bad19616023da905bda3c Mon Sep 17 00:00:00 2001 From: HP van Braam Date: Wed, 1 Nov 2023 14:23:20 +0100 Subject: [PATCH] Remove Windows build option Nobody downloaded the pre-build SDKs for Windows and cross-compiling GCC-13 is proving to be a bit of a problem. --- build-sdk.sh | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/build-sdk.sh b/build-sdk.sh index 7527d6d2e3..db87ed2cf4 100755 --- a/build-sdk.sh +++ b/build-sdk.sh @@ -3,7 +3,7 @@ set -e function usage() { echo "usage: $0 host target" - echo " where host is one of linux-x86_64, windows-x86_64" + echo " where host is one of linux-x86_64" echo " where target is one of i686, x86_64, armv7" exit 1 } @@ -16,9 +16,6 @@ case $1 in linux-x86_64) host=$1 ;; - windows-x86_64) - host=$1 - ;; *) echo "unknown SDK host \"$1\"" usage @@ -79,24 +76,6 @@ function build_linux_sdk() { popd } -function build_windows_sdk() { - ${container} build -f Dockerfile.windows-builder -t godot-buildroot-builder-windows - - if [ ! -e godot-toolchains/${toolchain_prefix}_sdk-buildroot.tar.bz2 ]; then - build_linux_sdk - fi - - ${container} run -it --rm -v $(pwd):/tmp/buildroot:z -w /tmp/buildroot --userns=keep-id godot-buildroot-builder-windows bash -x /usr/local/bin/build-windows.sh ${toolchain_prefix} -} - -if [ "${host}" == "linux-x86_64" ]; then - build_linux_sdk -fi - -if [ "${host}" == "windows-x86_64" ]; then - build_windows_sdk -fi - echo echo "***************************************" -echo "Build succesful your toolchain is in the godot-toolchains directory" +echo "Build succesful your toolchain is in ehe godot-toolchains directory"