From 184d216b24203c2180c8686e36cb123aec9425dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Thu, 23 Apr 2020 15:06:23 +0200 Subject: [PATCH] Flush stdout So that the log output appears in the Jenkins logs before the cmake output. --- scripts/run_cmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_cmake.py b/scripts/run_cmake.py index fe3ef17..497e4c3 100755 --- a/scripts/run_cmake.py +++ b/scripts/run_cmake.py @@ -147,7 +147,7 @@ def run_cmake(projects: str, repo_path: str, config_file_path: str = None, *, dr arguments = _create_args(config, llvm_enable_projects) cmd = 'cmake ' + ' '.join(arguments) - print('Running cmake with these arguments:\n{}'.format(cmd)) + print('Running cmake with these arguments:\n{}'.format(cmd), flush=True) if dryrun: print('Dryrun, not invoking CMake!') else: