From 50b1a00ba5e323d984d7d7ee26ad1a996b23c841 Mon Sep 17 00:00:00 2001 From: Emil Tsalapatis Date: Mon, 28 Sep 2026 14:16:43 -0700 Subject: [PATCH 1/2] vmtest: Temporarily test failing on Clang 22 The test verifier_linked_scalars/alu32_negative_offset fails for noalu32 targets on Clang 22, because the compiler uses 32 bit shifts to optimize the test's unsigned casts. Disable it to unblock the upgrade. --- ci/vmtest/configs/DENYLIST | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/vmtest/configs/DENYLIST b/ci/vmtest/configs/DENYLIST index 0782fda..c0249d2 100644 --- a/ci/vmtest/configs/DENYLIST +++ b/ci/vmtest/configs/DENYLIST @@ -2,3 +2,4 @@ file_reader verif_scale_pyperf600 sockmap_basic/sockmap udp multi channels map_kptr +verifier_linked_scalars/alu32_negative_offset From 6db13c09d95efdda1912e9edea01de21699c024f Mon Sep 17 00:00:00 2001 From: Emil Tsalapatis Date: Mon, 28 Sep 2026 13:31:56 -0700 Subject: [PATCH 2/2] bump clang to 22 --- .github/workflows/test.yml | 2 +- build-scx-scheds/install-dependencies.sh | 2 +- helpers.sh | 4 ++-- run-vmtest/install-dependencies.sh | 2 +- setup-build-env/action.sh | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24fdd38..fe82441 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: arch: ["x86_64"] kernel_compiler: ["gcc", "llvm"] gcc_version: [14] - llvm_version: [21] + llvm_version: [22] kernel: ["LATEST"] build_release: [false] tests: diff --git a/build-scx-scheds/install-dependencies.sh b/build-scx-scheds/install-dependencies.sh index 8656bc5..cb78e48 100755 --- a/build-scx-scheds/install-dependencies.sh +++ b/build-scx-scheds/install-dependencies.sh @@ -2,7 +2,7 @@ set -xeuo pipefail -export LLVM_VERSION=${LLVM_VERSION:-21} +export LLVM_VERSION=${LLVM_VERSION:-22} export LIBBPF_REVISION=${LIBBPF_REVISION:-master} export BPFTOOL_REVISION=${BPFTOOL_REVISION:-main} diff --git a/helpers.sh b/helpers.sh index 8f0bfc4..28322a3 100644 --- a/helpers.sh +++ b/helpers.sh @@ -39,12 +39,12 @@ print_notice() { # No arguments llvm_default_version() { - echo "17" + echo "22" } # No arguments llvm_latest_version() { - echo "19" + echo "22" } kernel_build_make_jobs() { diff --git a/run-vmtest/install-dependencies.sh b/run-vmtest/install-dependencies.sh index 7f6b88e..5e9fcbe 100755 --- a/run-vmtest/install-dependencies.sh +++ b/run-vmtest/install-dependencies.sh @@ -2,7 +2,7 @@ set -euo pipefail -LLVM_VERSION=${LLVM_VERSION:-21} +LLVM_VERSION=${LLVM_VERSION:-22} VMTEST_RELEASE=${VMTEST_RELEASE:-v0.18.0} VMTEST_URL="https://github.com/danobi/vmtest/releases/download/${VMTEST_RELEASE}/vmtest-$(uname -m)" sudo curl -L $VMTEST_URL -o /usr/bin/vmtest diff --git a/setup-build-env/action.sh b/setup-build-env/action.sh index 332f200..1a3e887 100755 --- a/setup-build-env/action.sh +++ b/setup-build-env/action.sh @@ -7,7 +7,7 @@ export GITHUB_ACTION_PATH=${GITHUB_ACTION_PATH:-$(pwd)} export PAHOLE_BRANCH=${PAHOLE_BRANCH:-master} export PAHOLE_ORIGIN=${PAHOLE_ORIGIN:-https://git.kernel.org/pub/scm/devel/pahole/pahole.git} export GCC_VERSION=${GCC_VERSION:-15} -export LLVM_VERSION=${LLVM_VERSION:-21} +export LLVM_VERSION=${LLVM_VERSION:-22} export TARGET_ARCH=${TARGET_ARCH:-$(uname -m)} # gcc >= 15 is not available in Ubuntu 24