]> git.lizzy.rs Git - rust.git/commit
mk: Don't consider LLVM done until it's done
authorAlex Crichton <alex@alexcrichton.com>
Wed, 29 Jun 2016 20:45:18 +0000 (13:45 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 30 Jun 2016 16:08:43 +0000 (09:08 -0700)
commit9e2bd921ea22a31ef133222a1cecb6fb991ae87b
tree396f246005a3dd17e0bc9ec09cd06b22497c34c3
parentc2b56fb7a0c24e04227318ca7e5950e9289ee3e4
mk: Don't consider LLVM done until it's done

Currently if an LLVM build is interrupted *after* it creates the llvm-config
binary but before it's done it puts us in an inconsistent state where we think
LLVM is compiled but it's not actually. This tweaks our logic to only consider
LLVM done building once it's actually done building.

This should hopefully alleviate problems on the bots where if we interrupt at
the wrong time it doesn't corrupt the build directory.
mk/llvm.mk
src/bootstrap/build/native.rs