Skip to content

Commit

Permalink
debugg
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jan 17, 2025
1 parent bfb363e commit 8bece50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion builder/core/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ def _compiler_version(cc):
if m:
return 'gcc', m.group(1)
# other gcc
m = re.match(r'gcc .+', text)
m = re.match(r'^gcc', text)
if m:
print("got here")
result = util.run_command(cc, '-dumpfullversion -dumpversion', quiet=True)
print(result)
if result.returncode == 0:
lines2 = result.output.split('\n')
print(lines2)
Expand Down

0 comments on commit 8bece50

Please sign in to comment.