summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-09-16 20:36:20 +0000
committerEric Christopher <echristo@apple.com>2011-09-16 20:36:20 +0000
commit73ec21f30151d8e3ae7eea6439ffba1581cb3e45 (patch)
tree7edc9f4cef2c768c96233173bf03b648ebedc9cc /llvm/utils
parenta7077b6f7eb74ad336cd03bd64ebcff6a0788383 (diff)
downloadbcm5719-llvm-73ec21f30151d8e3ae7eea6439ffba1581cb3e45.tar.gz
bcm5719-llvm-73ec21f30151d8e3ae7eea6439ffba1581cb3e45.zip
We now look for clang, then llvm-gcc, then gcc as our compiler. We don't need
this anymore. llvm-svn: 139935
Diffstat (limited to 'llvm/utils')
-rwxr-xr-xllvm/utils/buildit/build_llvm12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/utils/buildit/build_llvm b/llvm/utils/buildit/build_llvm
index ac543fc2ef5..731ca6f28db 100755
--- a/llvm/utils/buildit/build_llvm
+++ b/llvm/utils/buildit/build_llvm
@@ -110,18 +110,6 @@ if [ "$ARM_HOSTED_BUILD" = yes ]; then
done
PATH=$DIR/bin:$PATH
-# 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 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 clang)
- if [ x$CC = x -a x$XTMPCC != x ] ; then export CC=$XTMPCC ; fi
- XTMPCC=$(which clang++)
- if [ x$CXX = x -a x$XTMPCC != x ] ; then export CXX=$XTMPCC ; fi
- PATH=$savedPATH
- unset XTMPCC savedPATH
fi
if [ "$ARM_HOSTED_BUILD" = yes ]; then
OpenPOWER on IntegriCloud