[llvm-commits] [llvm] r154706 - /llvm/trunk/utils/buildit/build_llvm
Bob Wilson
bob.wilson at apple.com
Fri Apr 13 15:58:53 PDT 2012
Author: bwilson
Date: Fri Apr 13 17:58:53 2012
New Revision: 154706
URL: http://llvm.org/viewvc/llvm-project?rev=154706&view=rev
Log:
Remove old code to strip out unwanted PPC slices for Apple llvmCore.
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=154706&r1=154705&r2=154706&view=diff
==============================================================================
--- llvm/trunk/utils/buildit/build_llvm (original)
+++ llvm/trunk/utils/buildit/build_llvm Fri Apr 13 17:58:53 2012
@@ -228,19 +228,6 @@
cd $DEST_DIR$DEST_ROOT
rm -f bin/.dir etc/llvm/.dir lib/.dir
-# Remove PPC64 fat slices.
-cd $DEST_DIR$DEST_ROOT/bin
-if [ $MACOSX_DEPLOYMENT_TARGET = "10.4" ]; then
- find . -perm 755 -type f \! \( -name '*gccas' -o -name '*gccld' -o -name llvm-config \) \
- -exec lipo -extract ppc -extract i386 {} -output {} \;
-elif [ $MACOSX_DEPLOYMENT_TARGET = "10.5" ]; then
- find . -perm 755 -type f \! \( -name '*gccas' -o -name '*gccld' -o -name llvm-config \) \
- -exec lipo -extract ppc7400 -extract i386 {} -output {} \;
-else
- find . -perm 755 -type f \! \( -name '*gccas' -o -name '*gccld' -o -name llvm-config \) \
- -exec lipo -extract i386 -extract x86_64 {} -output {} \;
-fi
-
# The Hello dylib is an example of how to build a pass.
# The BugpointPasses module is only used to test bugpoint.
# These unversioned dylibs cause verification failures, so do not install them.
More information about the llvm-commits
mailing list