Fixup: start the timer before the phase (#33917)
This commit is contained in:
parent
b245f1ece1
commit
d1715c5fdf
@ -2042,9 +2042,8 @@ def _real_install(self):
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user