ci: update clang version to 18

This fixes the false TSAN errors in CI.
This commit is contained in:
dundargoc 2024-03-16 14:15:23 +01:00 committed by dundargoc
parent 542c910a1d
commit 5da0d513b9

View File

@ -16,7 +16,7 @@ if [[ $os == Linux ]]; then
if [[ $CC == clang ]]; then
DEFAULT_CLANG_VERSION=$(echo | clang -dM -E - | grep __clang_major | awk '{print $3}')
CLANG_VERSION=17
CLANG_VERSION=18
if ((DEFAULT_CLANG_VERSION >= CLANG_VERSION)); then
echo "Default clang version is $DEFAULT_CLANG_VERSION, which equal or larger than wanted version $CLANG_VERSION. Aborting!"
exit 1