commit b3e96c3fb4f2bca7154438f170e9a7052119effe
parent 7d063ed674180c9878c83fbe866d15d0aaac3c12
Author: Mike Hommey <mh+mozilla@glandium.org>
Date: Tue, 18 Nov 2025 09:12:40 +0000
Bug 1998319 - Don't error out when the clang trunk version is newer than the declared clang latest version. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D272991
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/build/moz.configure/compile-checks.configure b/build/moz.configure/compile-checks.configure
@@ -405,6 +405,9 @@ def check_latest_release_version(compiler, clang_latest_release):
if (
compiler.type in ("clang", "clang-cl")
and compiler.version > clang_latest_release
+ # Don't error out on automation when using clang trunk (18.x is the first
+ # version where trunk is always y.0, and release y.1.*)
+ and not (compiler.version.major >= 18 and compiler.version.minor == 0)
):
configure_error("latest clang release version must be updated")