From: Matan Breizman Date: Tue, 18 Feb 2025 10:40:24 +0000 (+0200) Subject: script/lib-build: Use clang 14 X-Git-Tag: v19.2.3~355^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5bf3f6ee9f0206a5e9496160ed0de27643b4acb9;p=ceph.git script/lib-build: Use clang 14 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 --- diff --git a/src/script/lib-build.sh b/src/script/lib-build.sh index 6499cf44b806..0e915831a51a 100644 --- 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..10}; do + for i in {14..10}; do if type -t "clang-$i" > /dev/null; then cxx_compiler="clang++-$i" c_compiler="clang-$i"