fetch submodule before checking llvm stamp
Previously, we were checking the LLVM stamp before fetching the submodule which leads to not being able to compile llvm on submodule updates. Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
1eb882ef6d
commit
b75e6b4e7e
1 changed files with 1 additions and 1 deletions
|
|
@ -94,6 +94,7 @@ pub fn prebuilt_llvm_config(
|
|||
}
|
||||
}
|
||||
|
||||
builder.update_submodule(&Path::new("src").join("llvm-project"));
|
||||
let root = "src/llvm-project/llvm";
|
||||
let out_dir = builder.llvm_out(target);
|
||||
|
||||
|
|
@ -279,7 +280,6 @@ impl Step for Llvm {
|
|||
Err(m) => m,
|
||||
};
|
||||
|
||||
builder.update_submodule(&Path::new("src").join("llvm-project"));
|
||||
if builder.llvm_link_shared() && target.is_windows() {
|
||||
panic!("shared linking to LLVM is not currently supported on {}", target.triple);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue