]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script/lib-build: Use clang 14 61769/head
authorMatan Breizman <mbreizma@redhat.com>
Wed, 12 Feb 2025 13:29:02 +0000 (13:29 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 12 Feb 2025 13:29:02 +0000 (13:29 +0000)
In attempt to update to clang16 some of the code is not yet adapted
due to deprecated functions.
Let's disable clang 16 usage until https://github.com/ceph/ceph/pull/61740
is merged.

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

index 25ce76b0cde741ebc22ee370e58ebfb2911a3220..22b8c7a025ff642c06f03f7dda3f1edf5f63b2e3 100755 (executable)
@@ -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..12}; do
+    for i in {14..12}; do
         if type -t "clang-$i" > /dev/null; then
             cxx_compiler="clang++-$i"
             c_compiler="clang-$i"