]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script: allow lib-build compiler function to find newer clang versions
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Apr 2026 19:48:32 +0000 (15:48 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 5 May 2026 14:46:40 +0000 (10:46 -0400)
Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/script/lib-build.sh

index 5a06b3b01a748a0370f62492b524f1db3a51c121..f28dcf6831dc4071bd3f96f9a4c10f78a85d1186 100755 (executable)
@@ -82,7 +82,7 @@ function discover_compiler() {
     local cxx_compiler=g++
     local c_compiler=gcc
     # ubuntu/debian ci builds prefer clang
-    for i in {19..12}; do
+    for i in {21..12}; do
         if type -t "clang-$i" > /dev/null; then
             cxx_compiler="clang++-$i"
             c_compiler="clang-$i"