From d1715c5fdf6eaf21e79e3046f331374e21100503 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 15 Nov 2022 16:52:43 +0100 Subject: Fixup: start the timer before the phase (#33917) --- lib/spack/spack/installer.py | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3-60-g2f50