[llvm-branch-commits] [llvm-branch] r137186 - /llvm/branches/Apple/Hartnell/utils/buildit/build_llvm
Eric Christopher
echristo at apple.com
Tue Aug 9 16:58:26 PDT 2011
Author: echristo
Date: Tue Aug 9 18:58:25 2011
New Revision: 137186
URL: http://llvm.org/viewvc/llvm-project?rev=137186&view=rev
Log:
clang is the new black.
Modified:
llvm/branches/Apple/Hartnell/utils/buildit/build_llvm
Modified: llvm/branches/Apple/Hartnell/utils/buildit/build_llvm
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hartnell/utils/buildit/build_llvm?rev=137186&r1=137185&r2=137186&view=diff
==============================================================================
--- llvm/branches/Apple/Hartnell/utils/buildit/build_llvm (original)
+++ llvm/branches/Apple/Hartnell/utils/buildit/build_llvm Tue Aug 9 18:58:25 2011
@@ -117,15 +117,15 @@
done
PATH=$DIR/bin:$PATH
-# otherwise, try to use llvm-gcc if it's available
+# otherwise, try to use clang if it's available
elif [ $DARWIN_VERS -gt 9 ]; then
# If the user has set CC or CXX, respect their wishes. If not,
- # compile with LLVM-GCC/LLVM-G++ if available; if LLVM is not
+ # compile with clang/clang if available; if LLVM is not
# available, fall back to usual GCC/G++ default.
savedPATH=$PATH ; PATH="/Developer/usr/bin:$PATH"
- XTMPCC=$(which llvm-gcc)
+ XTMPCC=$(which clang)
if [ x$CC = x -a x$XTMPCC != x ] ; then export CC=$XTMPCC ; fi
- XTMPCC=$(which llvm-g++)
+ XTMPCC=$(which clang++)
if [ x$CXX = x -a x$XTMPCC != x ] ; then export CXX=$XTMPCC ; fi
PATH=$savedPATH
unset XTMPCC savedPATH
More information about the llvm-branch-commits
mailing list