diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2020-12-15 01:46:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 01:46:30 -0800 |
commit | d67ca265a36b3c43cb1dfe540ea640a3b00923e1 (patch) | |
tree | f9972d38a3dafd965267cbc793f8659b487759fc | |
parent | e7f4c2b49e38ceecb895b4ad6885ceea377a9737 (diff) | |
download | spack-d67ca265a36b3c43cb1dfe540ea640a3b00923e1.tar.gz spack-d67ca265a36b3c43cb1dfe540ea640a3b00923e1.tar.bz2 spack-d67ca265a36b3c43cb1dfe540ea640a3b00923e1.tar.xz spack-d67ca265a36b3c43cb1dfe540ea640a3b00923e1.zip |
outputs: restore default output of fetch/build/total times (#20394)
-rw-r--r-- | lib/spack/spack/installer.py | 9 |
1 files 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 |