Skip to contentSkip to conversation

Dockerfile: Switch over to using LLVM-10

PATCH New Tom Rini 1 participant 2 messages Apr 10, 2020 – Apr 28, 2020

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Dockerfile: Switch over to using LLVM-10

At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers.

---
 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Dockerfile +2 -2
index e9e5aa3c3905..daf896f5c466 100644
@@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive
 # Add LLVM repository
 RUN apt-get update && apt-get install -y gnupg2 wget xz-utils && rm -rf /var/lib/apt/lists/*
 RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
-RUN echo deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main | tee /etc/apt/sources.list.d/llvm.list
+RUN echo deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main | tee /etc/apt/sources.list.d/llvm.list
 
 # Manually install the kernel.org "Crosstool" based toolchains for gcc-7.3
 RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/9.2.0/x86_64-gcc-9.2.0-nolibc-aarch64-linux.tar.xz | tar -C /opt -xJ
@@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y \
 	bc \
 	bison \
 	build-essential \
-	clang-7 \
+	clang-10 \
 	coreutils \
 	cpio \
 	cppcheck \
Signature · 1 line
2.17.1
author Applied
#1 lore raw

PATCH 1/1 Dockerfile: Switch over to using LLVM-10

Quoted 4 lines · Tom Rini

At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers.

Applied to gitlab-ci-runner/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200428/3a3fc689/attachment.sig>