* [PATCH liburing] github: Upgrade clang version to 22
@ 2026-02-15 18:16 Ammar Faizi
2026-02-15 23:55 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Ammar Faizi @ 2026-02-15 18:16 UTC (permalink / raw)
To: Jens Axboe
Cc: Ammar Faizi, io-uring Mailing List, GNU/Weeb Mailing List,
Christian Mazakas
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 <christian.mazakas@gmail.com>
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
---
.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH liburing] github: Upgrade clang version to 22
2026-02-15 18:16 [PATCH liburing] github: Upgrade clang version to 22 Ammar Faizi
@ 2026-02-15 23:55 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2026-02-15 23:55 UTC (permalink / raw)
To: Ammar Faizi
Cc: io-uring Mailing List, GNU/Weeb Mailing List, Christian Mazakas
On Mon, 16 Feb 2026 01:16:12 +0700, Ammar Faizi wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] github: Upgrade clang version to 22
commit: fa9896fa9371e661ff158328d8c5dd906fe8cdac
Best regards,
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-15 23:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-15 18:16 [PATCH liburing] github: Upgrade clang version to 22 Ammar Faizi
2026-02-15 23:55 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox