From: John Mulligan Date: Thu, 30 Apr 2026 19:48:32 +0000 (-0400) Subject: script: allow lib-build compiler function to find newer clang versions X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bbaca7373362e6b06b240e1f015fd8c1cf51ce4c;p=ceph.git script: allow lib-build compiler function to find newer clang versions Signed-off-by: John Mulligan --- diff --git a/src/script/lib-build.sh b/src/script/lib-build.sh index 5a06b3b01a74..f28dcf6831dc 100755 --- a/src/script/lib-build.sh +++ b/src/script/lib-build.sh @@ -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"