From 09344132545554da8e27cdec3d1e2456ec879fdb Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 13 Dec 2022 15:54:04 +0800 Subject: [PATCH] run-make-check.sh: use clang-17 if available now that clang-17 has been released, let's use it if available. Signed-off-by: Kefu Chai --- 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 6c4455344379d..950c1ab7387c7 100644 --- 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 {14..10}; do + for i in {17..10}; do if type -t "clang-$i" > /dev/null; then cxx_compiler="clang++-$i" c_compiler="clang-$i" -- 2.39.5