[llvm-commits] [llvm] r173468 - /llvm/trunk/utils/buildit/build_llvm
Bob Wilson
bob.wilson at apple.com
Fri Jan 25 10:40:25 PST 2013
Author: bwilson
Date: Fri Jan 25 12:40:25 2013
New Revision: 173468
URL: http://llvm.org/viewvc/llvm-project?rev=173468&view=rev
Log:
Use xcrun to find the right compiler when building llvmCore. <rdar://12801151>
Modified:
llvm/trunk/utils/buildit/build_llvm
Modified: llvm/trunk/utils/buildit/build_llvm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/buildit/build_llvm?rev=173468&r1=173467&r2=173468&view=diff
==============================================================================
--- llvm/trunk/utils/buildit/build_llvm (original)
+++ llvm/trunk/utils/buildit/build_llvm Fri Jan 25 12:40:25 2013
@@ -164,6 +164,9 @@
else
# not $ARM_HOSTED_BUILD
+ export CC=`xcrun -find clang`
+ export CXX=`xcrun -find clang++`
+
if [ "$IOS_SIM_BUILD" = yes ]; then
# Use a non-standard "darwin_sim" host triple to trigger a cross-build.
configure_opts="--enable-targets=x86 --host=i686-apple-darwin_sim \
More information about the llvm-commits
mailing list