From 794b60f7e719b4a96ce0fa2a09774a9b6239e58d Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Fri, 4 Dec 2020 00:04:13 +0100 Subject: [PATCH] environment installs: fix reporting. (#20004) PR #15702 changed the invocation of the report context when installing specs, do the same when building environments. --- lib/spack/spack/cmd/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/install.py b/lib/spack/spack/cmd/install.py index 3b5954b1ad6..8f3902d71c8 100644 --- a/lib/spack/spack/cmd/install.py +++ b/lib/spack/spack/cmd/install.py @@ -255,7 +255,7 @@ def install(parser, args, **kwargs): 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}"