1
0
Fork 0

Flush stdout

So that the log output appears in the Jenkins logs before the cmake output.
This commit is contained in:
Christian Kühnel 2020-04-23 15:06:23 +02:00
parent b9f8ce9f20
commit 184d216b24

View file

@ -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) arguments = _create_args(config, llvm_enable_projects)
cmd = 'cmake ' + ' '.join(arguments) 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: if dryrun:
print('Dryrun, not invoking CMake!') print('Dryrun, not invoking CMake!')
else: else: