From 10aec174d535214e3e340666abca71cfd3617fd3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Aug 2022 10:05:30 +0200 Subject: [PATCH] python/{cmake,autotools}: build in verbose mode Make sure all the gory details are visible in CI logs. --- python/build/autotools.py | 3 ++- python/build/cmake.py | 3 ++- python/build/meson.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/python/build/autotools.py b/python/build/autotools.py index 6cd484f3a..cf9125439 100644 --- a/python/build/autotools.py +++ b/python/build/autotools.py @@ -49,10 +49,11 @@ class AutotoolsProject(MakeProject): 'STRIP=' + toolchain.strip, '--host=' + toolchain.arch, '--prefix=' + toolchain.install_prefix, - '--enable-silent-rules', + '--disable-silent-rules', ] + self.configure_args try: + print(configure) subprocess.check_call(configure, cwd=build, env=toolchain.env) except subprocess.CalledProcessError: # dump config.log after a failed configure run diff --git a/python/build/cmake.py b/python/build/cmake.py index 158bf6d76..3f9fd2946 100644 --- a/python/build/cmake.py +++ b/python/build/cmake.py @@ -61,6 +61,7 @@ def configure(toolchain, src, build, args=()): '-GNinja', ] + cross_args + args + print(configure) subprocess.check_call(configure, env=toolchain.env, cwd=build) class CmakeProject(Project): @@ -82,5 +83,5 @@ class CmakeProject(Project): def _build(self, toolchain): build = self.configure(toolchain) - subprocess.check_call(['ninja', 'install'], + subprocess.check_call(['ninja', '-v', 'install'], cwd=build, env=toolchain.env) diff --git a/python/build/meson.py b/python/build/meson.py index d86c48e6a..4c1a5babf 100644 --- a/python/build/meson.py +++ b/python/build/meson.py @@ -115,5 +115,5 @@ class MesonProject(Project): def _build(self, toolchain): build = self.configure(toolchain) - subprocess.check_call(['ninja', 'install'], + subprocess.check_call(['ninja', '-v', 'install'], cwd=build, env=toolchain.env)