python/{cmake,autotools}: build in verbose mode
Make sure all the gory details are visible in CI logs.
This commit is contained in:
parent
d32ed194e8
commit
10aec174d5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue