From: Rongqi Sun Date: Thu, 18 Jan 2024 07:00:49 +0000 (+0800) Subject: src/script/lib-build.sh: clang should > 12. X-Git-Tag: v20.0.0~2531^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F55227%2Fhead;p=ceph.git src/script/lib-build.sh: clang should > 12. Signed-off-by: Rongqi Sun --- diff --git a/src/script/lib-build.sh b/src/script/lib-build.sh old mode 100644 new mode 100755 index 950c1ab7387..a96a20ea826 --- a/src/script/lib-build.sh +++ b/src/script/lib-build.sh @@ -64,7 +64,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 {17..12}; do if type -t "clang-$i" > /dev/null; then cxx_compiler="clang++-$i" c_compiler="clang-$i"