Commit 10aec174 authored by Max Kellermann's avatar Max Kellermann

python/{cmake,autotools}: build in verbose mode

Make sure all the gory details are visible in CI logs.
parent d32ed194
......@@ -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
......
......@@ -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)
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment