More flushes
This commit is contained in:
parent
eed3b71bc8
commit
47d1516fa2
2
setup.py
2
setup.py
@ -130,6 +130,7 @@ def ask_openblas_optimization_level():
|
||||
print("5) Skip compiling OpenBLAS and assume it exists in the system")
|
||||
print(question_color_start + "Please enter the option number: " + color_end)
|
||||
sys.stdout.flush()
|
||||
sys.stderr.flush()
|
||||
option_chosen = input()
|
||||
if option_chosen.replace(" ", "") == '1':
|
||||
return "-O2"
|
||||
@ -159,6 +160,7 @@ def ask_spintrum_optimization_level():
|
||||
print("5) -Ofast")
|
||||
print(question_color_start + "Please enter the option number: " + color_end)
|
||||
sys.stdout.flush()
|
||||
sys.stderr.flush()
|
||||
option_chosen = input("")
|
||||
if option_chosen.replace(" ", "") == '1':
|
||||
return "-g"
|
||||
|
Loading…
Reference in New Issue
Block a user