From 72270aff26391cf1d18d826532c2b4e36ec07175 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 19 May 2017 11:29:38 -0400 Subject: Don't error out the build if compiler version does not match expected format --- configure.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.py b/configure.py index 1bd8d2f1b..a890a99d6 100755 --- a/configure.py +++ b/configure.py @@ -2623,8 +2623,9 @@ def detect_compiler_version(ccinfo, cc_bin, os_name): return '3.8' # safe default if cc_version is None: - logging.error("Ran '%s' to get %s compiler version, but no %s version found in %s" % ( - ' '.join(cc_cmd), ccinfo.basename, ccinfo.basename, cc_output)) + logging.warning("Ran '%s' to get %s version, but output '%s' does not match expected version format" % ( + ' '.join(cc_cmd), ccinfo.basename, cc_output)) + return None logging.info('Detected %s compiler version %s' % (ccinfo.basename, cc_version)) return cc_version -- cgit v1.2.3