From b4f79f3cb7e9cd0482784e5f7a33fbf8e1a3c1ae Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Fri, 4 Dec 2020 00:04:13 +0100 Subject: 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(-) (limited to 'lib') 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}" -- cgit v1.2.3-70-g09d2