]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script/lib-build: Use clang 14 61869/head
authorMatan Breizman <mbreizma@redhat.com>
Tue, 18 Feb 2025 10:40:24 +0000 (12:40 +0200)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 18 Feb 2025 10:40:24 +0000 (12:40 +0200)
Updating to newer clang requires multiple fixes.
Don't use newer clang than 14. If needed, we could backport
the fixes from [1] and then use newer releases.

[1] https://github.com/ceph/ceph/pull/61740

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/script/lib-build.sh

index 6499cf44b806a5d6c98edb03ab3155e6e66f845f..0e915831a51aa3b0019caf333275debc9e67bbf8 100644 (file)
@@ -72,7 +72,7 @@ function discover_compiler() {
     local cxx_compiler=g++
     local c_compiler=gcc
     # ubuntu/debian ci builds prefer clang
-    for i in {17..10}; do
+    for i in {14..10}; do
         if type -t "clang-$i" > /dev/null; then
             cxx_compiler="clang++-$i"
             c_compiler="clang-$i"