summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wolf <matthias.wolf@epfl.ch>2020-12-04 00:04:13 +0100
committerGitHub <noreply@github.com>2020-12-03 15:04:13 -0800
commit794b60f7e719b4a96ce0fa2a09774a9b6239e58d (patch)
treea9cbf0b5cb631908298860de770b2ee9db640d07
parentd6765fe95d8647dc4754736b5b7b93fc8ecd7802 (diff)
downloadspack-794b60f7e719b4a96ce0fa2a09774a9b6239e58d.tar.gz
spack-794b60f7e719b4a96ce0fa2a09774a9b6239e58d.tar.bz2
spack-794b60f7e719b4a96ce0fa2a09774a9b6239e58d.tar.xz
spack-794b60f7e719b4a96ce0fa2a09774a9b6239e58d.zip
environment installs: fix reporting. (#20004)
PR #15702 changed the invocation of the report context when installing specs, do the same when building environments.
-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}"