Skip to content

Commit a64aca5

Browse files
committed
Linux: Update buildroot SDK to 2023.08, add arm64 SDK
Provides GCC 13.2.0 built against glibc 2.28, binutils 2.40.
1 parent bbb6673 commit a64aca5

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

Dockerfile.linux

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,33 @@ ARG img_version
22
FROM godot-fedora:${img_version}
33

44
ENV GODOT_SDK_LINUX_X86_64=/root/x86_64-godot-linux-gnu_sdk-buildroot
5-
ENV GODOT_SDK_LINUX_X86=/root/i686-godot-linux-gnu_sdk-buildroot
6-
ENV GODOT_SDK_LINUX_ARMHF=/root/arm-godot-linux-gnueabihf_sdk-buildroot
5+
ENV GODOT_SDK_LINUX_X86_32=/root/i686-godot-linux-gnu_sdk-buildroot
6+
ENV GODOT_SDK_LINUX_ARM64=/root/aarch64-godot-linux-gnu_sdk-buildroot
7+
ENV GODOT_SDK_LINUX_ARM32=/root/arm-godot-linux-gnueabihf_sdk-buildroot
78
ENV BASE_PATH=${PATH}
89

9-
RUN dnf -y install --setopt=install_weak_deps=False \
10-
libxcrypt-compat yasm && \
11-
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
10+
RUN curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2023-11-01/x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
1211
tar xf x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
1312
rm -f x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
1413
cd x86_64-godot-linux-gnu_sdk-buildroot && \
1514
./relocate-sdk.sh && \
16-
rm -f bin/{aclocal*,auto*,libtool*,m4} && \
1715
cd /root && \
18-
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2 && \
19-
tar xf arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2 && \
20-
rm -f arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2 && \
21-
cd arm-godot-linux-gnueabihf_sdk-buildroot && \
22-
./relocate-sdk.sh && \
23-
rm -f bin/{aclocal*,auto*,libtool*,m4} && \
24-
cd /root && \
25-
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/i686-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
16+
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2023-11-01/i686-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
2617
tar xf i686-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
2718
rm -f i686-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
2819
cd i686-godot-linux-gnu_sdk-buildroot && \
2920
./relocate-sdk.sh && \
30-
rm -f bin/{aclocal*,auto*,libtool*,m4}
21+
cd /root && \
22+
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2023-11-01/aarch64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
23+
tar xf aarch64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
24+
rm -f aarch64-godot-linux-gnu_sdk-buildroot.tar.bz2 && \
25+
cd aarch64-godot-linux-gnu_sdk-buildroot && \
26+
./relocate-sdk.sh && \
27+
cd /root && \
28+
curl -LO https://downloads.tuxfamily.org/godotengine/toolchains/linux/2023-11-01/arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2 && \
29+
tar xf arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2 && \
30+
rm -f arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2 && \
31+
cd arm-godot-linux-gnueabihf_sdk-buildroot && \
32+
./relocate-sdk.sh
3133

3234
CMD /bin/bash

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ These are the toolchains currently in use for Godot 4.2 and later:
8383

8484
- Base image: Fedora 39
8585
- SCons: 4.5.2
86-
- Linux: GCC 10.2.0 built against glibc 2.19, binutils 2.35.1, from our own [Linux SDK](https://github.com/godotengine/buildroot)
86+
- Linux: GCC 13.2.0 built against glibc 2.28, binutils 2.40, from our own [Linux SDK](https://github.com/godotengine/buildroot)
8787
- Windows: MinGW 11.0.0, GCC 13.2.1, binutils 2.40
8888
- Web: Emscripten 3.1.39
8989
- Android: Android NDK 23.2.8568313, build-tools 33.0.2, platform android-33, CMake 3.22.1, JDK 17

0 commit comments

Comments
 (0)