Skip to content

Commit

Permalink
Write timer correctly for non-cache installs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwryankrattiger committed Aug 16, 2023
1 parent 5f6b28f commit 7ca749f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/spack/spack/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2414,8 +2414,7 @@ def run(self) -> bool:

# Stop the timer and save results
self.timer.stop()
with open(self.pkg.times_log_path, "w") as timelog:
self.timer.write_json(timelog)
_write_timer_json(self.pkg, self.timer, False):

print_install_test_log(self.pkg)
_print_timer(pre=self.pre, pkg_id=self.pkg_id, timer=self.timer)
Expand Down

0 comments on commit 7ca749f

Please sign in to comment.