Skip to content

Commit a8991fa

Browse files
authored
Merge pull request #159 from godotengine/f43-update-4.6
Update various toolchains for 4.6
2 parents 277982a + 4150d2a commit a8991fa

File tree

10 files changed

+36
-44
lines changed

10 files changed

+36
-44
lines changed

Dockerfile.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ RUN dnf -y install --setopt=install_weak_deps=False \
1313
unzip ${CMDLINETOOLS} && \
1414
rm ${CMDLINETOOLS} && \
1515
yes | cmdline-tools/bin/sdkmanager --sdk_root="${ANDROID_SDK_ROOT}" --licenses && \
16-
cmdline-tools/bin/sdkmanager --sdk_root="${ANDROID_SDK_ROOT}" "ndk;${ANDROID_NDK_VERSION}" 'cmdline-tools;latest' 'build-tools;35.0.0' 'platforms;android-35' 'cmake;3.31.6'
16+
cmdline-tools/bin/sdkmanager --sdk_root="${ANDROID_SDK_ROOT}" "ndk;${ANDROID_NDK_VERSION}" 'cmdline-tools;latest' 'build-tools;35.0.1' 'platforms;android-35' 'cmake;3.31.6'
1717

1818
CMD /bin/bash

Dockerfile.appleembedded

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ RUN dnf -y install --setopt=install_weak_deps=False \
66

77
RUN git clone --depth 1 --no-checkout https://github.com/tpoechtrager/cctools-port.git && \
88
cd /root/cctools-port && \
9-
git fetch --depth 1 origin 7224fd5c9390ea15cff6ee69ff92ea677b40014b && \
10-
git checkout 7224fd5c9390ea15cff6ee69ff92ea677b40014b
9+
git fetch --depth 1 origin 1cce4a06877992f708b2e0e2ab217a0cfb923a4f && \
10+
git checkout 1cce4a06877992f708b2e0e2ab217a0cfb923a4f
1111

1212
COPY files/appleembedded/build.sh /root/cctools-port/usage_examples/ios_toolchain/build.sh
1313
COPY files/appleembedded/wrapper.c /root/cctools-port/usage_examples/ios_toolchain/wrapper.c

Dockerfile.base

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fedora:42
1+
FROM fedora:43
22

33
WORKDIR /root
44

@@ -8,6 +8,6 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
88
RUN dnf -y install --setopt=install_weak_deps=False \
99
bash binutils bzip2 curl file findutils gettext git make nano patch pkgconfig python3-pip unzip which xz \
1010
dotnet-sdk-8.0 && \
11-
pip install scons==4.9.1
11+
pip install scons==4.10.1
1212

1313
CMD /bin/bash

Dockerfile.osx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,25 @@ FROM godot-fedora:${img_version}
55
#
66
# sudo dnf install gnupg2
77

8-
ENV XCODE_SDKV=26.0.1
9-
ENV APPLE_SDKV=26.0
10-
ENV OSX_SDK=26.0
8+
ENV XCODE_SDKV=26.1.1
9+
ENV APPLE_SDKV=26.1
1110

1211
RUN dnf -y install --setopt=install_weak_deps=False \
1312
automake autoconf bzip2-devel cmake gawk gcc gcc-c++ libdispatch libicu-devel libtool \
1413
libxml2-devel openssl-devel uuid-devel yasm gpg && \
1514
git clone --progress https://github.com/tpoechtrager/osxcross && \
1615
cd /root/osxcross && \
17-
git checkout f873f534c6cdb0776e457af8c7513da1e02abe59 && \
16+
git checkout 121ce150c7857a9474dfff8a8e431482806b3e1b && \
1817
# Patch to fix visionOS support.
1918
# See: https://github.com/llvm/llvm-project/issues/142502
2019
patch -p1 < /root/files/patches/osxcross-fix-visionos.patch && \
21-
ln -s /root/files/MacOSX${OSX_SDK}.sdk.tar.xz /root/osxcross/tarballs && \
20+
ln -s /root/files/MacOSX${APPLE_SDKV}.sdk.tar.xz /root/osxcross/tarballs && \
2221
export UNATTENDED=1 && \
23-
export SDK_VERSION=${OSX_SDK} && \
22+
export SDK_VERSION=${APPLE_SDKV} && \
2423
# Custom build Apple Clang to ensure compatibility.
2524
# Find the equivalent LLVM version for the SDK from:
2625
# https://en.wikipedia.org/wiki/Xcode#Toolchain_versions
27-
CLANG_VERSION=19.1.4 ENABLE_CLANG_INSTALL=1 INSTALLPREFIX=/usr ./build_apple_clang.sh && \
26+
CLANG_VERSION=19.1.5 ENABLE_CLANG_INSTALL=1 INSTALLPREFIX=/usr ./build_apple_clang.sh && \
2827
./build.sh && \
2928
./build_compiler_rt.sh && \
3029
rm -rf /root/osxcross/build

Dockerfile.web

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG img_version
22
FROM godot-fedora:${img_version}
33

4-
ENV EMSCRIPTEN_VERSION=4.0.10
4+
ENV EMSCRIPTEN_VERSION=4.0.20
55

66
RUN dnf -y install --setopt=install_weak_deps=False libatomic && \
77
git clone --branch ${EMSCRIPTEN_VERSION} --progress https://github.com/emscripten-core/emsdk && \

Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM godot-fedora:${img_version}
33

44
RUN dnf -y install --setopt=install_weak_deps=False \
55
mingw32-gcc mingw32-gcc-c++ mingw32-winpthreads-static mingw64-gcc mingw64-gcc-c++ mingw64-winpthreads-static && \
6-
export LLVM_MINGW_VERSION=20250528 && \
6+
export LLVM_MINGW_VERSION=20251118 && \
77
export LLVM_MINGW_NAME=llvm-mingw-${LLVM_MINGW_VERSION}-ucrt-ubuntu-22.04-x86_64 && \
88
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/${LLVM_MINGW_VERSION}/${LLVM_MINGW_NAME}.tar.xz && \
99
tar xf ${LLVM_MINGW_NAME}.tar.xz && \

Dockerfile.xcode

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,5 @@ RUN dnf -y install --setopt=install_weak_deps=False \
1010

1111
ENV XCODE_SDKV=
1212
ENV APPLE_SDKV=
13-
ENV OSX_SDKV=
14-
ENV IOS_SDKV=
15-
ENV TVOS_SDKV=
16-
ENV VISIONOS_SDKV=
1713

18-
COPY extract_xcode_sdks.sh /root/extract_xcode_sdks.sh
19-
RUN chmod +x /root/extract_xcode_sdks.sh
20-
21-
CMD /root/extract_xcode_sdks.sh
14+
CMD /root/files/extract_xcode_sdks.sh

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ be welcome (but back when we tried we ran into performance issues).
3838
The `build.sh` script included is used to build the containers themselves.
3939

4040
The two arguments can take any value and are meant to convey what Godot branch
41-
you are building for (e.g. `4.5`) and what Linux distribution the `Dockerfile.base`
42-
is based on (e.g. `f42` for Fedora 42).
41+
you are building for (e.g. `4.6`) and what Linux distribution the `Dockerfile.base`
42+
is based on (e.g. `f43` for Fedora 43).
4343

4444
Run the command using:
4545

46-
./build.sh 4.5 f42
46+
./build.sh 4.6 f43
4747

48-
The above will generate images using the tag '4.5-f42'.
48+
The above will generate images using the tag '4.6-f43'.
4949
You can then specify it in the `build.sh` of
5050
[godot-build-scripts](https://github.com/godotengine/godot-build-scripts).
5151

@@ -67,13 +67,14 @@ you can comment out the corresponding lines from the script:
6767
These are the expected container image sizes, so you can plan your disk usage in advance:
6868

6969
REPOSITORY TAG SIZE
70-
localhost/godot-fedora 4.5-f42 949 MB
71-
localhost/godot-linux 4.5-f42 2.74 GB
72-
localhost/godot-windows 4.5-f42 2.54 GB
73-
localhost/godot-web 4.5-f42 2.35 GB
74-
localhost/godot-android 4.5-f42 4.19 GB
75-
localhost/godot-osx 4.5-f42 5.30 GB
76-
localhost/godot-appleembedded 4.5-f42 14.1 GB
70+
localhost/godot-fedora 4.6-f43 978 MB
71+
localhost/godot-linux 4.6-f43 2.77 GB
72+
localhost/godot-windows 4.6-f43 2.65 GB
73+
localhost/godot-web 4.6-f43 2.74 GB
74+
localhost/godot-android 4.6-f43 4.22 GB
75+
localhost/godot-xcode 4.6-f43 1.56 GB
76+
localhost/godot-osx 4.6-f43 14.6 GB
77+
localhost/godot-appleembedded 4.6-f43 16.0 GB
7778

7879
In addition to this, generating containers will also require some host disk space
7980
(up to 10 GB) for the dependencies (Xcode).
@@ -83,14 +84,13 @@ In addition to this, generating containers will also require some host disk spac
8384

8485
These are the toolchains currently in use for Godot 4.3 and later:
8586

86-
- Base image: Fedora 42
87-
- SCons: 4.9.1
87+
- Base image: Fedora 43
88+
- SCons: 4.10.1
8889
- Linux: GCC 13.2.0 built against glibc 2.28, binutils 2.40, from our own [Linux SDK](https://github.com/godotengine/buildroot)
8990
- Windows:
90-
* x86_64/x86_32: MinGW 12.0.0, GCC 14.2.1, binutils 2.43.1
91-
* arm64: llvm-mingw 20250528, LLVM 20.1.6
92-
- Web: Emscripten 4.0.10
93-
- Android: Android NDK 28.1.13356709, build-tools 35.0.0, platform android-35, CMake 3.31.6, JDK 21
94-
- Apple: Xcode 16.4 with Apple Clang (LLVM 19.1.4), cctools 1024.3, ld64 955.13
95-
* macOS: MacOSX SDK 15.5
96-
* Apple Embedded: iPhoneOS and iPhoneSimulator SDKs 18.5, AppleTVOS and AppleTVSimulator SDKs 18.5, XROS and XRSimulator SDKs 2.5
91+
* x86_64/x86_32: MinGW 13.0.0, GCC 15.2.1, binutils 2.45
92+
* arm64: llvm-mingw 20251118, LLVM 21.1.6
93+
- Web: Emscripten 4.0.20
94+
- Android: Android NDK 28.1.13356709, build-tools 35.0.1, platform android-35, CMake 3.31.6, JDK 21
95+
- Apple: Xcode 26.1.1 with Apple Clang (LLVM 19.1.5), cctools 1030.6.3, ld64 956.6
96+
* SDKs: MacOSX, iPhoneOS, iPhoneSimulator, AppleTVOS, AppleTVSimulator, XROS, XRSimulator

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ podman_build windows
5858
podman_build web
5959
podman_build android
6060

61-
XCODE_SDK=26.0.1
62-
APPLE_SDKV=26.0
61+
XCODE_SDK=26.1.1
62+
APPLE_SDKV=26.1
6363
if [ ! -e "${files_root}"/MacOSX${APPLE_SDKV}.sdk.tar.xz ] || [ ! -e "${files_root}"/Xcode-Developer${XCODE_SDK}.tar.xz ]; then
6464
if [ ! -r "${files_root}"/Xcode_${XCODE_SDK}.xip ]; then
6565
echo

0 commit comments

Comments
 (0)