From: Matan Breizman Date: Wed, 12 Feb 2025 13:29:02 +0000 (+0000) Subject: script/lib-build: Use clang 14 X-Git-Tag: v20.0.0~168^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=55e6f54831f4ce2c2b005d1d2d9b7125d15bb4f2;p=ceph.git script/lib-build: Use clang 14 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 --- diff --git a/src/script/lib-build.sh b/src/script/lib-build.sh index 25ce76b0cde74..22b8c7a025ff6 100755 --- a/src/script/lib-build.sh +++ b/src/script/lib-build.sh @@ -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"