From: Tom Rini Date: Sun, 2 Nov 2025 15:11:30 +0000 (-0600) Subject: CI: Update to LLVM 20 release X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5e2db3a4ab82e360f20669d19eaf246f01f32f6;p=thirdparty%2Fu-boot.git CI: Update to LLVM 20 release The current stable release for LLVM is 20, so update to that from 18. No issues seen in CI. Signed-off-by: Tom Rini --- diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 0f1909007a7..dddca4acf17 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -2,7 +2,7 @@ variables: windows_vm: windows-2022 ubuntu_vm: ubuntu-24.04 macos_vm: macOS-14 - ci_runner_image: trini/u-boot-gitlab-ci-runner:noble-20251001-10Nov2025 + ci_runner_image: trini/u-boot-gitlab-ci-runner:noble-20251001-11Nov2025 # Ensure we do a shallow clone Agent.Source.Git.ShallowFetchDepth: 1 # Add '-u 0' options for Azure pipelines, otherwise we get "permission @@ -361,18 +361,18 @@ stages: TEST_PY_TEST_SPEC: "version" sandbox_clang: TEST_PY_BD: "sandbox" - OVERRIDE: "-O clang-18" + OVERRIDE: "-O clang-20" # addr2line in Ubuntu 'Noble' and later are broken. TEST_PY_TEST_SPEC: "not event_dump" sandbox_clang_asan: TEST_PY_BD: "sandbox" - OVERRIDE: "-O clang-18 -a ASAN" + OVERRIDE: "-O clang-20 -a ASAN" TEST_PY_TEST_SPEC: "version" sandbox64: TEST_PY_BD: "sandbox64" sandbox64_clang: TEST_PY_BD: "sandbox64" - OVERRIDE: "-O clang-18" + OVERRIDE: "-O clang-20" sandbox64_lwip: TEST_PY_BD: "sandbox64_lwip" sandbox_spl: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9422af2ebd0..389b8611d8f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ workflow: # Grab our configured image. The source for this is found # in the u-boot tree at tools/docker/Dockerfile -image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:noble-20251001-10Nov2025 +image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:noble-20251001-11Nov2025 # We run some tests in different order, to catch some failures quicker. stages: @@ -281,7 +281,7 @@ sandbox with clang test.py: - ${HOST} variables: TEST_PY_BD: "sandbox" - OVERRIDE: "-O clang-18" + OVERRIDE: "-O clang-20" # addr2line in Ubuntu 'Noble' and later are broken. TEST_PY_TEST_SPEC: "not event_dump" <<: *buildman_and_testpy_dfn @@ -306,7 +306,7 @@ sandbox64 with clang test.py: - ${HOST} variables: TEST_PY_BD: "sandbox64" - OVERRIDE: "-O clang-18" + OVERRIDE: "-O clang-20" <<: *buildman_and_testpy_dfn sandbox64_lwip test.py: diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 7fead1dcb18..2dc4bec33bb 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -54,7 +54,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ # Add LLVM repository RUN wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc -RUN echo deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main | tee /etc/apt/sources.list.d/llvm.list +RUN echo deb http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main | tee /etc/apt/sources.list.d/llvm.list # Update and install things from apt now RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ @@ -68,7 +68,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ build-essential \ byacc \ cgpt \ - clang-18 \ + clang-20 \ coreutils \ cpio \ curl \