From d67ca265a36b3c43cb1dfe540ea640a3b00923e1 Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Tue, 15 Dec 2020 01:46:30 -0800 Subject: outputs: restore default output of fetch/build/total times (#20394) --- lib/spack/spack/installer.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/spack/spack/installer.py b/lib/spack/spack/installer.py index 1d8c637d32..bc23b4896f 100644 --- a/lib/spack/spack/installer.py +++ b/lib/spack/spack/installer.py @@ -1682,11 +1682,10 @@ def build_process(pkg, kwargs): pkg._total_time = time.time() - start_time build_time = pkg._total_time - pkg._fetch_time - tty.debug('{0} Successfully installed {1}' - .format(pre, pkg_id), - 'Fetch: {0}. Build: {1}. Total: {2}.' - .format(_hms(pkg._fetch_time), _hms(build_time), - _hms(pkg._total_time))) + tty.msg('{0} Successfully installed {1}'.format(pre, pkg_id), + 'Fetch: {0}. Build: {1}. Total: {2}.' + .format(_hms(pkg._fetch_time), _hms(build_time), + _hms(pkg._total_time))) _print_installed_pkg(pkg.prefix) # preserve verbosity across runs -- cgit v1.2.3-70-g09d2