Add pre-built MinGW/LLVM toolchain to the Windows build container to support ARM64 Windows builds. (#144)

This commit is contained in:
bruvzg 2024-07-19 14:59:55 +03:00 committed by GitHub
parent d2be7490bc
commit 22b763b5df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,10 @@ ARG img_version
FROM godot-fedora:${img_version}
RUN dnf -y install --setopt=install_weak_deps=False \
mingw32-gcc mingw32-gcc-c++ mingw32-winpthreads-static mingw64-gcc mingw64-gcc-c++ mingw64-winpthreads-static
mingw32-gcc mingw32-gcc-c++ mingw32-winpthreads-static mingw64-gcc mingw64-gcc-c++ mingw64-winpthreads-static && \
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20240619/llvm-mingw-20240619-ucrt-ubuntu-20.04-x86_64.tar.xz && \
tar xf llvm-mingw-20240619-ucrt-ubuntu-20.04-x86_64.tar.xz && \
rm -f llvm-mingw-20240619-ucrt-ubuntu-20.04-x86_64.tar.xz && \
mv -f llvm-mingw-20240619-ucrt-ubuntu-20.04-x86_64 /root/llvm-mingw
CMD /bin/bash