From 5bf3f6ee9f0206a5e9496160ed0de27643b4acb9 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Tue, 18 Feb 2025 12:40:24 +0200 Subject: [PATCH] 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 --- src/script/lib-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/lib-build.sh b/src/script/lib-build.sh index 6499cf44b806a..0e915831a51aa 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" -- 2.47.3