Don't clone LLVM submodule when download-ci-llvm is set

Previously, `downloading_llvm` would check `self.build` while it was
still an empty string, and think it was always false. This fixes the
check.
This commit is contained in:
Joshua Nelson 2021-01-29 17:23:36 +00:00
parent b122908617
commit db115f13f3
1 changed files with 1 additions and 1 deletions

View File

@ -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()