From 9852340606cf5f0e23cca8107e2bce61f022bc4e Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 15 Sep 2019 10:20:38 +0300 Subject: BUILD: add --debug-configure option to reduce output, use logger more --- runtests.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtests.py') diff --git a/runtests.py b/runtests.py index 23245aeac..dbc6fd1ab 100755 --- a/runtests.py +++ b/runtests.py @@ -67,6 +67,8 @@ def main(argv): parser = ArgumentParser(usage=__doc__.lstrip()) parser.add_argument("--verbose", "-v", action="count", default=1, help="more verbosity") + parser.add_argument("--debug_configure", action="store_true", + help="show all compiler output during system configuration") parser.add_argument("--no-build", "-n", action="store_true", default=False, help="do not build the project (use system installed version)") parser.add_argument("--build-only", "-b", action="store_true", default=False, @@ -366,6 +368,8 @@ def build_project(args): cmd += ["build"] if args.parallel > 1: cmd += ["-j", str(args.parallel)] + if args.debug_configure: + cmd += ["--debug_configure"] # Install; avoid producing eggs so numpy can be imported from dst_dir. cmd += ['install', '--prefix=' + dst_dir, '--single-version-externally-managed', -- cgit v1.2.1