Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 68DC1C6FD20 for ; Tue, 21 Mar 2023 19:07:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2DAB385C63; Tue, 21 Mar 2023 20:07:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="AdYSaeuW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C187285C6E; Tue, 21 Mar 2023 20:07:51 +0100 (CET) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5613685BC0 for ; Tue, 21 Mar 2023 20:07:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf35.google.com with SMTP id x8so10513393qvr.9 for ; Tue, 21 Mar 2023 12:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1679425667; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=m0KoNXCGZx+l/lghlOkqrz6ZhMxaFznYU2yICBRhepU=; b=AdYSaeuWvCnDsZn1FSRBjLLeIc1aQnGobo2OTYv9tbgfUBGPFXPzfk+ViAtTJ5dpvZ UNLGZHct4ua3ksbBrDwbvf0cs1f/QJ57tdUEVzc0eXvmSsaNlVbaUHDeqJ7vqrRDXDp3 MSJFb2f9Ga2wLjkpE74Cov/lhrOgNB7dExLaQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679425667; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m0KoNXCGZx+l/lghlOkqrz6ZhMxaFznYU2yICBRhepU=; b=VWvOZO9ECRVSA0Fa/QGyhKVkfNboN8OIkZnCDOFahYwq+QiqL5txv+w9i5h7eVo1ya BvEpRVqiYUlIqCrGTyYkJleSzeywx6GOuPsWPUy9qnYuMgAiBkr+ztfZLYuCRnYR2Xcc +To+hZ3PS/7xTIvaXUy09hzLClG8QDiFVSRefy1meW4XZ8YbHTYBWMXx378azsuxks+d q5Fw0PyLFNlJG1JvbTBfNlI+WQpPoFBf1vp1rYIhMlkTx9WJpmzyiOB471SXVdlmYscW OowHWRY8yE75XQNErLGGJvwTpQUDNYryI+gdB0tZQmZsNWwRzLhij8sXCVyE6sY6xwfb 8bYQ== X-Gm-Message-State: AO0yUKUqT6j1m6yIanbxsaKzPjwugYb8ykR5EujYl6UUVSY2ns7rTCAt 1wmY+B42rWwqvZrCJhNznVBxyIMhkyMuKYDxkhW9tw== X-Google-Smtp-Source: AK7set/2kzzvGqd5EY5weoWCT9hydH22M2WtxLz5zqmlLVYRWxA3e0r+Qx4EJ+CJOj6O3FejkrJUHw== X-Received: by 2002:a05:6214:629:b0:572:6e81:ae9c with SMTP id a9-20020a056214062900b005726e81ae9cmr1704119qvx.1.1679425666255; Tue, 21 Mar 2023 12:07:46 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-0c83-dcca-a3a0-54f4.res6.spectrum.com. [2603:6081:7b00:6400:c83:dcca:a3a0:54f4]) by smtp.gmail.com with ESMTPSA id 77-20020a370650000000b007458c5a807csm9747247qkg.83.2023.03.21.12.07.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 12:07:46 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] CI: Move to clang-16 Date: Tue, 21 Mar 2023 15:07:45 -0400 Message-Id: <20230321190745.219361-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 6 +++--- .gitlab-ci.yml | 4 ++-- tools/docker/Dockerfile | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 61ada4d681f9..e5068fecf2fb 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -2,7 +2,7 @@ variables: windows_vm: windows-2019 ubuntu_vm: ubuntu-22.04 macos_vm: macOS-12 - ci_runner_image: trini/u-boot-gitlab-ci-runner:jammy-20230126-17Feb2023 + ci_runner_image: trini/u-boot-gitlab-ci-runner:jammy-20230126-21Mar2023 # Add '-u 0' options for Azure pipelines, otherwise we get "permission # denied" error when it tries to "useradd -m -u 1001 vsts_azpcontainer", # since our $(ci_runner_image) user is not root. @@ -254,7 +254,7 @@ stages: TEST_PY_BD: "sandbox" sandbox_clang: TEST_PY_BD: "sandbox" - OVERRIDE: "-O clang-14" + OVERRIDE: "-O clang-16" sandbox_nolto: TEST_PY_BD: "sandbox" BUILD_ENV: "NO_LTO=1" @@ -508,7 +508,7 @@ stages: OVERRIDE: "-a ASAN" sandbox_clang_asan: BUILDMAN: "sandbox" - OVERRIDE: "-O clang-14 -a ASAN" + OVERRIDE: "-O clang-16 -a ASAN" samsung_socfpga: BUILDMAN: "samsung socfpga" sun4i: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a89138701dcf..75a8270bc31b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ # Grab our configured image. The source for this is found # in the u-boot tree at tools/docker/Dockerfile -image: trini/u-boot-gitlab-ci-runner:jammy-20230126-17Feb2023 +image: trini/u-boot-gitlab-ci-runner:jammy-20230126-21Mar2023 # We run some tests in different order, to catch some failures quicker. stages: @@ -266,7 +266,7 @@ sandbox test.py: sandbox with clang test.py: variables: TEST_PY_BD: "sandbox" - OVERRIDE: "-O clang-14" + OVERRIDE: "-O clang-16" <<: *buildman_and_testpy_dfn sandbox without LTO test.py: diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index fdcb0c7f3d29..109b033c4c99 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -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/jammy/ llvm-toolchain-jammy-14 main | tee /etc/apt/sources.list.d/llvm.list +RUN echo deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main | tee /etc/apt/sources.list.d/llvm.list # Manually install the kernel.org "Crosstool" based toolchains for gcc-12.2.0 RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-aarch64-linux.tar.xz | tar -C /opt -xJ @@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y \ binutils-dev \ bison \ build-essential \ - clang-14 \ + clang-16 \ coreutils \ cpio \ cppcheck \ -- 2.34.1