Skip to content

Commit 490dfff

Browse files
committed
Docker.system-clang: Fix building with older LLVM versions after recent changes
1 parent 4718b81 commit 490dfff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile.system-clang

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ WORKDIR /build
2222

2323
ENV TOOLCHAIN_PREFIX=/opt/llvm-mingw
2424

25-
ARG TOOLCHAIN_ARCHS="i686 x86_64 armv7 aarch64"
25+
# build-compiler-rt.sh assumes that sanitizers can be built for all architectures.
26+
# Sanitizers can be built for aarch64 since LLVM 14 and for armv7 since LLVM 19.
27+
# For simplicity, just skip building for armv7 when building an older version.
28+
ARG TOOLCHAIN_ARCHS="i686 x86_64 aarch64"
2629

2730
ARG DEFAULT_CRT=ucrt
2831

0 commit comments

Comments
 (0)