mirror of
https://github.com/mstorsjo/llvm-mingw
synced 2026-06-21 14:01:00 +00:00
docker: Update the system-clang testcase to use Clang 20
This is the newest version currently available in the Ubuntu 24.04 repos. This fixes building; previously it failed to build libc++, which only supports being built with one of the two preceding versions of Clang.
This commit is contained in:
@@ -10,7 +10,7 @@ RUN apt-get update -qq && \
|
||||
|
||||
# Separate step for system-clang; the RUN line above is similar to other dockerfiles.
|
||||
RUN apt-get update -qq && \
|
||||
apt-get install -qqy clang-18 lld-18 llvm-18 && \
|
||||
apt-get install -qqy clang-20 lld-20 llvm-20 && \
|
||||
apt-get clean -y && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
@@ -31,7 +31,7 @@ ARG CFGUARD_ARGS=--enable-cfguard
|
||||
|
||||
COPY build-all.sh build-llvm.sh install-wrappers.sh build-mingw-w64.sh build-mingw-w64-tools.sh build-compiler-rt.sh build-libcxx.sh build-mingw-w64-libraries.sh build-openmp.sh ./
|
||||
COPY wrappers/*.sh wrappers/*.c wrappers/*.h wrappers/*.cfg ./wrappers/
|
||||
RUN ./build-all.sh $TOOLCHAIN_PREFIX --host-clang=clang-18 && \
|
||||
RUN ./build-all.sh $TOOLCHAIN_PREFIX --host-clang=clang-20 && \
|
||||
rm -rf /build/*
|
||||
|
||||
ENV PATH=$TOOLCHAIN_PREFIX/bin:$PATH
|
||||
|
||||
Reference in New Issue
Block a user