Skip to content

Commit 184fd6f

Browse files
committed
sync llvm submodule during config parse
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 3d0f3b2 commit 184fd6f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/src/core/config/config.rs

+4
Original file line numberDiff line numberDiff line change
@@ -2729,6 +2729,10 @@ impl Config {
27292729
download_ci_llvm: Option<StringOrBool>,
27302730
asserts: bool,
27312731
) -> bool {
2732+
// Initialize the llvm submodule if not initialized already.
2733+
// If submodules are disabled, this does nothing.
2734+
self.update_submodule("src/llvm-project");
2735+
27322736
let if_unchanged = || {
27332737
// Git is needed to track modifications here, but tarball source is not available.
27342738
// If not modified here or built through tarball source, we maintain consistency

0 commit comments

Comments
 (0)