Skip to content

Commit

Permalink
Don't clone LLVM submodule when download-ci-llvm is set
Browse files Browse the repository at this point in the history
Previously, `downloading_llvm` would check `self.build` while it was
still an empty string, and think it was always false. This fixes the
check.
  • Loading branch information
jyn514 committed Jan 29, 2021
1 parent b122908 commit db115f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1085,10 +1085,10 @@ def bootstrap(help_triggered):
else:
build.set_normal_environment()

build.build = args.build or build.build_triple()
build.update_submodules()

# Fetch/build the bootstrap
build.build = args.build or build.build_triple()
build.download_stage0()
sys.stdout.flush()
build.ensure_vendored()
Expand Down

0 comments on commit db115f1

Please sign in to comment.