From db7d8c5c3f11cbd286759e9a57388e021d292fb9 Mon Sep 17 00:00:00 2001 From: Jeppe Pihl Date: Thu, 25 Jul 2019 10:32:35 +0200 Subject: [PATCH] verbose cmake --- buildbot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildbot.py b/buildbot.py index 0723d74..cdcb309 100644 --- a/buildbot.py +++ b/buildbot.py @@ -10,10 +10,10 @@ project_name = 'bourne' -def run_command(args): +def run_command(args, env_ext={}): print("Running: {}".format(args)) sys.stdout.flush() - subprocess.check_call(args) + subprocess.check_call(args, env=dict(os.environ.copy(), **env_ext)) def get_tool_options(properties): @@ -89,8 +89,8 @@ def cmake(properties): old_cwd = os.getcwd() os.chdir(build_path) - run_command(['cmake', '../']) - run_command(['cmake', '--build', '.']) + run_command(['cmake', '../'], env_ext={'VERBOSE': '1'}) + run_command(['cmake', '--build', '.'], env_ext={'VERBOSE': '1'}) os.chdir(old_cwd)