fix: switch back to mstorsjo llvm-mingw
Build Container Image / build_msvc_amd64 (push) Failing after 2m43s Details
Build Container Image / build_msvc_i386 (push) Failing after 33s Details
Build Container Image / build_mingw_amd64 (push) Failing after 2m34s Details
Build Container Image / push_mingw_amd64 (push) Has been skipped Details
Build Container Image / build_mingw_i386 (push) Failing after 32s Details
Build Container Image / push_mingw_i386 (push) Has been skipped Details
Build Container Image / build_msvc_arm64 (push) Failing after 6m56s Details
Build Container Image / build_msvc (push) Has been skipped Details
Build Container Image / build_mingw_arm64 (push) Failing after 6m54s Details
Build Container Image / push_mingw_arm64 (push) Has been skipped Details
Build Container Image / build_mingw (push) Has been skipped Details
Build Container Image / push_mingw (push) Has been skipped Details
Build Container Image / update_readme (push) Has been skipped Details

This commit is contained in:
Daniel Wolf 2024-03-27 17:57:34 -04:00
parent 4cdf89a130
commit 364098b4f3
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
1 changed files with 2 additions and 2 deletions

View File

@ -49,13 +49,13 @@ RUN echo "====== BUILD UASM ======" \
ENV WINDOWS_TOOLCHAIN=/opt/llvm-mingw
RUN echo "====== BUILD LLVM-MINGW ======" \
&& git -C "${HOME}" clone --single-branch --depth=1 -b 'system-clang' https://github.com/nolange/llvm-mingw.git \
&& git -C "${HOME}" clone --single-branch --depth=1 -b '20240320' https://github.com/mstorsjo/llvm-mingw.git \
&& cd "${HOME}/llvm-mingw" \
&& export LLVM_VERSION="release/${LLVM_MAJOR}.x" \
&& export TOOLCHAIN_ARCHS="$(uname -m)" \
&& if [ "$(uname -m)" = "x86_64" ]; then export TOOLCHAIN_ARCHS="${TOOLCHAIN_ARCHS} i686"; fi \
&& if [ "$(uname -m)" = "aarch64" ]; then sed -i 's~continue~~g' build-compiler-rt.sh; fi \
&& ./build-all.sh "${WINDOWS_TOOLCHAIN}" --host-clang --with-default-msvcrt=ucrt --enable-cfguard \
&& ./build-all.sh "${WINDOWS_TOOLCHAIN}" --host-clang="clang-${LLVM_MAJOR}" --with-default-msvcrt=ucrt --enable-cfguard \
&& export PATH="${WINDOWS_TOOLCHAIN}/bin:$PATH" \
&& cp -nrvs ${WINDOWS_TOOLCHAIN}/$(uname -m)-w64-mingw32/bin/*.dll "${WINDOWS_SYSROOT}/windows/system32/" \
&& ln -s "${WINDOWS_TOOLCHAIN}/$(uname -m)-w64-mingw32" "${WINDOWS_SYSROOT}/$(uname -m)-w64-mingw32" \