diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-11-15 16:52:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 16:52:43 +0100 |
commit | d1715c5fdf6eaf21e79e3046f331374e21100503 (patch) | |
tree | fcf0de14a113a50dabd35542b16789ee67b88464 | |
parent | b245f1ece19ac79bfa25fb6bb647ad15e8feca2b (diff) | |
download | spack-d1715c5fdf6eaf21e79e3046f331374e21100503.tar.gz spack-d1715c5fdf6eaf21e79e3046f331374e21100503.tar.bz2 spack-d1715c5fdf6eaf21e79e3046f331374e21100503.tar.xz spack-d1715c5fdf6eaf21e79e3046f331374e21100503.zip |
Fixup: start the timer before the phase (#33917)
-rw-r--r-- | lib/spack/spack/installer.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/spack/spack/installer.py b/lib/spack/spack/installer.py index c348dd58c5..7a69d80abc 100644 --- a/lib/spack/spack/installer.py +++ b/lib/spack/spack/installer.py @@ -2042,9 +2042,8 @@ class BuildProcessInstaller(object): tty.set_debug(inner_debug_level) # Catch any errors to report to logging - phase_fn.execute() - self.timer.start(phase_fn.name) + phase_fn.execute() spack.hooks.on_phase_success(pkg, phase_fn.name, log_file) self.timer.stop(phase_fn.name) |