File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,13 @@ def run_cmd_get_stdout(cmd):
98
98
cc = f"gcc-{ version } "
99
99
break
100
100
101
- if not "gcc " in run_cmd_get_stdout (f"{ cxx } --version" ).lower () or not "gcc" in run_cmd_get_stdout (f"{ cc } --version" ):
101
+ if not "g++ " in run_cmd_get_stdout (f"{ cxx } --version" ).lower () or not "gcc" in run_cmd_get_stdout (f"{ cc } --version" ):
102
102
print (f"The selected C++ compiler ({ cxx } ) or C compiler ({ cc } ) is not GNU g++/gcc.\n "
103
103
"If you are using macOS, you may install it with Homebrew (https://brew.sh/)" )
104
+ sys .exit (1 )
104
105
105
106
run_cmd (f"{ make_command } clean" )
106
- run_cmd (f"{ make_command } CXX=$( cxx) CC=$(cc) PLATFORM={ platform } STATIC_LINK=true -j" )
107
+ run_cmd (f"{ make_command } CXX={ cxx } CC={ cc } PLATFORM={ platform } STATIC_LINK=true -j" )
107
108
108
109
run_cmd ("mkdir -p bin/example" )
109
110
You can’t perform that action at this time.
0 commit comments