Skip to content

Commit 78ee5d0

Browse files
committed
Change prebuilt_llvm_config to not be required.
I misread this one. It is only checking if LLVM needs to be rebuilt. There is code below that handles the case where it is unable to compute the stamp if the source is missing.
1 parent 686e27e commit 78ee5d0

File tree

1 file changed

+2
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-1
lines changed

src/bootstrap/src/core/build_steps/llvm.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ pub fn prebuilt_llvm_config(builder: &Builder<'_>, target: TargetSelection) -> L
110110
}
111111

112112
// Initialize the llvm submodule if not initialized already.
113-
builder.require_and_update_submodule("src/llvm-project", None);
113+
// If submodules are disabled, this does nothing.
114+
builder.update_submodule("src/llvm-project");
114115

115116
let root = "src/llvm-project/llvm";
116117
let out_dir = builder.llvm_out(target);

0 commit comments

Comments
 (0)