Skip to content

Commit

Permalink
sync llvm submodule during config parse
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Aug 18, 2024
1 parent 3d0f3b2 commit 184fd6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bootstrap/src/core/config/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2729,6 +2729,10 @@ impl Config {
download_ci_llvm: Option<StringOrBool>,
asserts: bool,
) -> bool {
// Initialize the llvm submodule if not initialized already.
// If submodules are disabled, this does nothing.
self.update_submodule("src/llvm-project");

let if_unchanged = || {
// Git is needed to track modifications here, but tarball source is not available.
// If not modified here or built through tarball source, we maintain consistency
Expand Down

0 comments on commit 184fd6f

Please sign in to comment.