]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #18448 : brson/rust/clean-llvm, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 30 Oct 2014 04:32:08 +0000 (04:32 +0000)
committerbors <bors@rust-lang.org>
Thu, 30 Oct 2014 04:32:08 +0000 (04:32 +0000)
When building for multiple targets, the initial 'make' invocation
always fails. The missing build stamp causes clean-llvm to be
invoked, but clean-llvm cleans *all* llvm builds. So what happens
is that 1) all llvm's are cleaned (a no-op), 2) llvm-${target1}
builds, 3) all llvm's are cleaned (deleting llvm-${target1}),
4) llvm-${target2} is built, 5) the remaining build for ${target1}
fails because llvm does not exist.

This makes the clean operation only clean the correct llvm build.
Should greatly reduce bot failures.


Trivial merge