Skip to content

Commit

Permalink
fallback to local bootstrap build
Browse files Browse the repository at this point in the history
  • Loading branch information
dvtkrlbs committed Jun 29, 2023
1 parent 0f0113f commit 09b70a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1165,13 +1165,12 @@ def bootstrap(args):
stamp = pathlib.Path(build.build_dir).joinpath("bootstrap/.bootstrap-stamp")
stamp.write_text(last_commit)
build.is_precompiled_bootstrap = True
else:
build.build_bootstrap()

except Exception as e:
print(str(e))


if build.is_precompiled_bootstrap:
build.build_bootstrap()
sys.stdout.flush()

# Run the bootstrap
Expand Down

0 comments on commit 09b70a0

Please sign in to comment.