void-packages/srcpkgs/rust/patches/dont-require-filecheck.patch

16 lines
629 B
Diff

--- rustc-1.13.0/src/bootstrap/sanity.rs
+++ rustc-1.13.0/src/bootstrap/sanity.rs
@@ -93,12 +93,6 @@
need_cmd(build.cxx(host).as_ref());
}
- // Externally configured LLVM requires FileCheck to exist
- let filecheck = build.llvm_filecheck(&build.config.build);
- if !filecheck.starts_with(&build.out) && !filecheck.exists() && build.config.codegen_tests {
- panic!("filecheck executable {:?} does not exist", filecheck);
- }
-
for target in build.config.target.iter() {
// Either can't build or don't want to run jemalloc on these targets
if target.contains("rumprun") ||