aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rust/alpine-dont-require-filecheck.patch
blob: 6556d82a465b91ca5e91010f52cab65fe82ec1f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Jakub Jirutka <jakub@jirutka.cz>
Date: Thu, 06 Apr 2017 12:25:00 +0200
Subject: [PATCH] Do not require FileCheck

--- a/src/bootstrap/sanity.rs
+++ b/src/bootstrap/sanity.rs
@@ -144,12 +144,6 @@
         }
     }
 
-    // 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() {
         // Can't compile for iOS unless we're on OSX
         if target.contains("apple-ios") &&