Skip to content

Commit

Permalink
Print status messages about bootstrapping (#410)
Browse files Browse the repository at this point in the history
Bootstrapping can take a while, provide some indication of activity
to the user.
  • Loading branch information
pearce8 authored Oct 23, 2024
1 parent 647daad commit 181f6c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/benchpark/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def __init__(self, dest):
self.spack_location = self.dest / "spack"

def bootstrap(self):
print("Hold tight, Benchpark is bootstrapping itself.")
if not self.ramble_location.exists():
self._install_ramble()
ramble_lib_path = self.ramble_location / "lib" / "ramble"
Expand All @@ -99,7 +100,7 @@ def bootstrap(self):
self._install_spack()

def _install_ramble(self):
debug_print(f"Cloning Ramble to {self.ramble_location}")
print(f"Cloning Ramble to {self.ramble_location}")
git_clone_commit(
"https://github.com/GoogleCloudPlatform/ramble.git",
self.ramble_commit,
Expand All @@ -108,7 +109,7 @@ def _install_ramble(self):
debug_print(f"Done cloning Ramble ({self.ramble_location})")

def _install_spack(self):
debug_print(f"Cloning Spack to {self.spack_location}")
print(f"Cloning Spack to {self.spack_location}")
git_clone_commit(
"https://github.com/spack/spack.git", self.spack_commit, self.spack_location
)
Expand Down

0 comments on commit 181f6c6

Please sign in to comment.