Skip to content

Commit db115f1

Browse files
committed
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.
1 parent b122908 commit db115f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/bootstrap/bootstrap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1085,10 +1085,10 @@ def bootstrap(help_triggered):
10851085
else:
10861086
build.set_normal_environment()
10871087

1088+
build.build = args.build or build.build_triple()
10881089
build.update_submodules()
10891090

10901091
# Fetch/build the bootstrap
1091-
build.build = args.build or build.build_triple()
10921092
build.download_stage0()
10931093
sys.stdout.flush()
10941094
build.ensure_vendored()

0 commit comments

Comments
 (0)