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 <mbreizma@redhat.com>
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"