From 8506bb006040cf8e8cb004202706c81e62ddacee Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 14 Apr 2020 12:10:58 -0700 Subject: Update the minimum external LLVM to 8 LLVM 8 was released on March 20, 2019, over a year ago. --- src/bootstrap/native.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bootstrap') diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 1e380a20629..0c87695ff7c 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -289,11 +289,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::().ok()); if let (Some(major), Some(_minor)) = (parts.next(), parts.next()) { - if major >= 7 { + if major >= 8 { return; } } - panic!("\n\nbad LLVM version: {}, need >=7.0\n\n", version) + panic!("\n\nbad LLVM version: {}, need >=8.0\n\n", version) } fn configure_cmake( -- cgit 1.4.1-3-g733a5