Update Apple's build script for llvmCore. <rdar://problem/12914321>
authorBob Wilson <bob.wilson@apple.com>
Thu, 10 Jan 2013 22:59:51 +0000 (22:59 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 10 Jan 2013 22:59:51 +0000 (22:59 +0000)
commit81f6babd58dd285130e050c8b75d854fb2cfe341
tree4da072c098d0fefd58ad774a02f5c86f182b6f86
parentec9e3cff22060d35d7853900c3e0b1b5e890a667
Update Apple's build script for llvmCore. <rdar://problem/12914321>

This change is basically just copying changes that we've used for Apple's
clang builds to the script used for building llvmCore. Besides cleaning it
up to use xcrun to locate the proper versions of tools, especially for cross
compiling, it fixes the build to work with newer versions of clang that
honor SDKROOT settings in the environment.

llvm-svn: 172138
llvm/utils/buildit/build_llvm