More flushes

This commit is contained in:
Samer Afach 2017-01-13 17:51:53 +01:00
parent eed3b71bc8
commit 47d1516fa2
1 changed files with 2 additions and 0 deletions

View File

@ -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"