From 2f704aa8582418862bc4183101e3e377ad240d1c Mon Sep 17 00:00:00 2001 From: Zhihui Xia Date: Thu, 30 May 2024 15:09:00 -0700 Subject: [PATCH] setup compiler print --- builder/core/toolchain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builder/core/toolchain.py b/builder/core/toolchain.py index 07c5eb73c..dfeb7be2a 100644 --- a/builder/core/toolchain.py +++ b/builder/core/toolchain.py @@ -14,7 +14,7 @@ def _compiler_version(cc): if current_os() != 'windows': result = util.run_command(cc, '--version', quiet=True) lines = result.output.split('\n') - + print("DEBUG_CLANG: compiler version {}".format(lines)) for text in lines: # Apple clang m = re.match(r'Apple (LLVM|clang) version (\d+)', text) @@ -38,6 +38,7 @@ def _compiler_version(cc): def _find_compiler_tool(name, versions): # look for the default tool, and see if the version is in the search set path = util.where(name, resolve_symlinks=False) + print("DEBUG_CLANG: find compiler path {}".format(path)) if path: version = _compiler_version(path)[1] if version in versions: