From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_DBL_BLOCKED_OPENDNS, URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=new2025; t=1771179381; bh=9sAqF9vdzNzZyOBhiNOfPqw/5F4dkBDVFKTr0FIdvxc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:Message-ID:Date:From:Reply-To:Subject:To: Cc:In-Reply-To:References:Resent-Date:Resent-From:Resent-To: Resent-Cc:User-Agent:Content-Type:Content-Transfer-Encoding; b=mXKC4o44nFjwz6ReYxtRV6s3TogJ0fI4Q48iV2zXcHIo8+m2CPi+bzwFmH6nDun0L 7P7GaQCYKj5yTJsEtW/iPDSLpd94PmHODZ/0nrva44KZIJwVYDOUZZ0SSA1lqBG1/u AH8FblTf2THEID3l/XcrKyRQJqB8dFE8yjboJQmRnP52vNB1e/WIO8dlTHw7xsWTfh sL82hI9AGkXwmCAvg3bWlxZnzA5yFB1ZXcJSXHxeWLHMaP4dXbtEn/XKBUuJPLnTq6 /5KLGqz/bbctIwKRowU2yt1R9tHAc40LpHQ6j77yVXvKLNiAQMZzPCC3/67DyWhYoM u2li2H5Y0G8uw== Received: from localhost.localdomain (unknown [36.50.142.76]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id EE8DD3204B4D; Sun, 15 Feb 2026 18:16:19 +0000 (UTC) From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , io-uring Mailing List , GNU/Weeb Mailing List , Christian Mazakas Subject: [PATCH liburing] github: Upgrade clang version to 22 Date: Mon, 16 Feb 2026 01:16:12 +0700 Message-Id: <20260215181612.1941963-1-ammarfaizi2@gnuweeb.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Commit 5cb44fe56b58 ("workflows/build.yml: install default ubuntu-24.04 clang") downgraded the CI to the Ubuntu 24.04 default Clang (v18). As noted by @cmazakas, it was because it broke bindgen. @cmazakas recently confirmed that Clang 22 does not suffer from this bindgen incompatibility. Therefore, upgrade the environment to Clang 22 to gain access to the latest static analysis tooling. Acked-by: Christian Mazakas Signed-off-by: Ammar Faizi --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f008b94eeaa..83669e131d2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -196,8 +196,15 @@ jobs: - name: Install Compilers run: | - sudo apt-get update -y; - sudo apt-get install -y ${{matrix.build_args.cc_pkg}} ${{matrix.build_args.cxx_pkg}}; + if [[ "${{matrix.cc_pkg}}" == "clang" ]]; then \ + wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh; \ + sudo bash /tmp/llvm.sh 22; \ + sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-22 400; \ + sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-22 400; \ + else \ + sudo apt-get update -y; \ + sudo apt-get install -y ${{matrix.build_args.cc_pkg}} ${{matrix.build_args.cxx_pkg}}; \ + fi; - name: Display compiler versions run: | base-commit: 364a7b561fa13cffdd7771978dc5509ec4d9d7f9 -- Ammar Faizi