Skip to content

Commit 1032737

Browse files
remove crap
1 parent 880c274 commit 1032737

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

builder/core/toolchain.py

-13
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ 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-
print(lines)
1817

1918
for text in lines:
2019
# Apple clang
@@ -33,18 +32,6 @@ def _compiler_version(cc):
3332
m = re.match(r'gcc .+ (\d+)\.', text)
3433
if m:
3534
return 'gcc', m.group(1)
36-
# other gcc
37-
print(text)
38-
m = re.match(r'^gcc', text)
39-
print(m)
40-
if m:
41-
print("got here")
42-
result = util.run_command(cc, '-dumpfullversion -dumpversion', quiet=True)
43-
print(result)
44-
if result.returncode == 0:
45-
lines2 = result.output.split('\n')
46-
print(lines2)
47-
return 'gcc', result.output.split('\n')[0]
4835
return None, None
4936

5037

0 commit comments

Comments
 (0)