Rollup merge of #95963 - luqmana:llvm-dist-cross-filecheck, r=Mark-Simulacrum
[bootstrap] Grab the right FileCheck binary for dist when cross-compiling. Fixes #95862 We were using the target dir for all the other LLVM tools (`llvm-config`, `llvm-ar`, etc) but the build target dir for `FileCheck`. This meant for targets which are cross-compiled, we were copying the wrong binary.
This commit is contained in:
commit
911da62586
1 changed files with 2 additions and 2 deletions
|
|
@ -865,8 +865,8 @@ impl Build {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
let base = self.llvm_out(self.config.build).join("build");
|
||||
let base = if !self.ninja() && self.config.build.contains("msvc") {
|
||||
let base = self.llvm_out(target).join("build");
|
||||
let base = if !self.ninja() && target.contains("msvc") {
|
||||
if self.config.llvm_optimize {
|
||||
if self.config.llvm_release_debuginfo {
|
||||
base.join("RelWithDebInfo")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue