Skip to content

Commit 2f704aa

Browse files
committed
setup compiler print
1 parent 2018988 commit 2f704aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/core/toolchain.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def _compiler_version(cc):
1414
if current_os() != 'windows':
1515
result = util.run_command(cc, '--version', quiet=True)
1616
lines = result.output.split('\n')
17-
17+
print("DEBUG_CLANG: compiler version {}".format(lines))
1818
for text in lines:
1919
# Apple clang
2020
m = re.match(r'Apple (LLVM|clang) version (\d+)', text)
@@ -38,6 +38,7 @@ def _compiler_version(cc):
3838
def _find_compiler_tool(name, versions):
3939
# look for the default tool, and see if the version is in the search set
4040
path = util.where(name, resolve_symlinks=False)
41+
print("DEBUG_CLANG: find compiler path {}".format(path))
4142
if path:
4243
version = _compiler_version(path)[1]
4344
if version in versions:

0 commit comments

Comments
 (0)