Auto merge of #32361 - japaric:no-llvm-assertions-on-arm, r=alexcrichton
disable llvm assertions on ARM compilers workaround for #32360 r? @alexcrichton
This commit is contained in:
commit
015d3b7092
@ -39,7 +39,12 @@ pub fn llvm(build: &Build, target: &str) {
|
||||
|
||||
let _ = fs::remove_dir_all(&dst.join("build"));
|
||||
t!(fs::create_dir_all(&dst.join("build")));
|
||||
let assertions = if build.config.llvm_assertions {"ON"} else {"OFF"};
|
||||
let mut assertions = if build.config.llvm_assertions {"ON"} else {"OFF"};
|
||||
|
||||
// Disable LLVM assertions on ARM compilers until #32360 is fixed
|
||||
if target.contains("arm") && target.contains("gnu") {
|
||||
assertions = "OFF";
|
||||
}
|
||||
|
||||
// http://llvm.org/docs/CMake.html
|
||||
let mut cfg = cmake::Config::new(build.src.join("src/llvm"));
|
||||
|
Loading…
Reference in New Issue
Block a user