summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Wolf <matthias.wolf@epfl.ch>2020-12-04 00:04:13 +0100
committerTamara Dahlgren <dahlgren1@llnl.gov>2021-02-17 17:07:22 -0800
commitb4f79f3cb7e9cd0482784e5f7a33fbf8e1a3c1ae (patch)
tree91a51e5be064a786b6012c292429d5995fcf8f5d /lib
parent30290acf67f56109393d3d30c328e9f5658a2996 (diff)
downloadspack-b4f79f3cb7e9cd0482784e5f7a33fbf8e1a3c1ae.tar.gz
spack-b4f79f3cb7e9cd0482784e5f7a33fbf8e1a3c1ae.tar.bz2
spack-b4f79f3cb7e9cd0482784e5f7a33fbf8e1a3c1ae.tar.xz
spack-b4f79f3cb7e9cd0482784e5f7a33fbf8e1a3c1ae.zip
environment installs: fix reporting. (#20004)
PR #15702 changed the invocation of the report context when installing specs, do the same when building environments.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/install.py b/lib/spack/spack/cmd/install.py
index 3b5954b1ad..8f3902d71c 100644
--- a/lib/spack/spack/cmd/install.py
+++ b/lib/spack/spack/cmd/install.py
@@ -255,7 +255,7 @@ environment variables:
reporter.specs = specs
tty.msg("Installing environment {0}".format(env.name))
- with reporter:
+ with reporter('build'):
env.install_all(args, **kwargs)
tty.debug("Regenerating environment views for {0}"