Bump the minimal supported LLVM version in the bootstrapping code to 9.0
This commit is contained in:
parent
63235651e8
commit
6830f1c6e2
1 changed files with 2 additions and 2 deletions
|
@ -348,11 +348,11 @@ fn check_llvm_version(builder: &Builder<'_>, llvm_config: &Path) {
|
|||
let version = output(cmd.arg("--version"));
|
||||
let mut parts = version.split('.').take(2).filter_map(|s| s.parse::<u32>().ok());
|
||||
if let (Some(major), Some(_minor)) = (parts.next(), parts.next()) {
|
||||
if major >= 8 {
|
||||
if major >= 9 {
|
||||
return;
|
||||
}
|
||||
}
|
||||
panic!("\n\nbad LLVM version: {}, need >=8.0\n\n", version)
|
||||
panic!("\n\nbad LLVM version: {}, need >=9.0\n\n", version)
|
||||
}
|
||||
|
||||
fn configure_cmake(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue