Meta: Update check for clang's major version

We require clang-17 as of 76df5ae030, but
this check was not updated.
This commit is contained in:
Timothy Flynn 2024-05-17 09:39:01 -04:00 committed by Andrew Kaster
parent 26cff62a0a
commit 688599af57
Notes: sideshowbarker 2024-07-17 03:59:29 +09:00

View File

@ -19,7 +19,7 @@ is_supported_compiler() {
[ "$BUILD_VERSION" -ge 14030022 ] && return 0
elif $COMPILER --version 2>&1 | grep "clang" >/dev/null; then
# Clang version check
[ "$MAJOR_VERSION" -ge 15 ] && return 0
[ "$MAJOR_VERSION" -ge 17 ] && return 0
else
# GCC version check
[ "$MAJOR_VERSION" -ge 12 ] && return 0