[llvm-commits] [llvm] r52647 - /llvm/trunk/utils/buildit/build_llvm
Bill Wendling
isanbard at gmail.com
Mon Jun 23 15:08:30 PDT 2008
Author: void
Date: Mon Jun 23 17:08:30 2008
New Revision: 52647
URL: http://llvm.org/viewvc/llvm-project?rev=52647&view=rev
Log:
Extract the x86_64 part for the executables.
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=52647&r1=52646&r2=52647&view=diff
==============================================================================
--- llvm/trunk/utils/buildit/build_llvm (original)
+++ llvm/trunk/utils/buildit/build_llvm Mon Jun 23 17:08:30 2008
@@ -173,21 +173,19 @@
# Remove PPC64 fat slices.
cd $DEST_DIR$DEST_ROOT/bin
-
if [ $MACOSX_DEPLOYMENT_TARGET = "10.4" ]; then
find . -perm 755 -type f -exec lipo -extract ppc -extract i386 {} -output {} \;
-else
+elif [ $MACOSX_DEPLOYMENT_TARGET = "10.5" ]; then
find . -perm 755 -type f -exec lipo -extract ppc7400 -extract i386 {} -output {} \;
+else
+ find . -perm 755 -type f -exec lipo -extract ppc7400 -extract i386 -extract x86_64 {} -output {} \;
fi
cd $DEST_DIR$DEST_ROOT
-
mkdir -p $DT_HOME/lib
mv lib/libLTO.dylib $DT_HOME/lib/libLTO.dylib
rm -f lib/libLTO.a lib/libLTO.la
-
-
################################################################################
# Create SYM_DIR with information required for debugging.
More information about the llvm-commits
mailing list