From 47d1516fa204c8161f2e647812548075b42f408f Mon Sep 17 00:00:00 2001 From: Samer Afach Date: Fri, 13 Jan 2017 17:51:53 +0100 Subject: [PATCH] More flushes --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 4668112..5ba2afa 100644 --- a/setup.py +++ b/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"