[llvm-branch-commits] [llvm-branch] r107113 - /llvm/branches/Apple/Morbo/utils/buildit/build_llvm

Bill Wendling isanbard at gmail.com
Mon Jun 28 18:11:41 PDT 2010


Author: void
Date: Mon Jun 28 20:11:40 2010
New Revision: 107113

URL: http://llvm.org/viewvc/llvm-project?rev=107113&view=rev
Log:
$ svn merge -c 107112 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r107112 into '.':
U    utils/buildit/build_llvm


Modified:
    llvm/branches/Apple/Morbo/utils/buildit/build_llvm

Modified: llvm/branches/Apple/Morbo/utils/buildit/build_llvm
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/utils/buildit/build_llvm?rev=107113&r1=107112&r2=107113&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/utils/buildit/build_llvm (original)
+++ llvm/branches/Apple/Morbo/utils/buildit/build_llvm Mon Jun 28 20:11:40 2010
@@ -343,8 +343,15 @@
 # Remove debugging information from DEST_DIR.
 
 cd $DIR || exit 1
+
 find $DEST_DIR -name \*.a -print | xargs ranlib || exit 1
 find $DEST_DIR -name \*.dSYM -print | xargs rm -r || exit 1
+
+# Strip debugging information from files
+find $DEST_DIR -perm -0111 -type f \
+    ! \( -name '*.la' -o -name gccas -o -name gccld -o -name llvm-config \) \
+    -print | xargs -n 1 -P ${SYSCTL} strip -S
+
 chgrp -h -R wheel $DEST_DIR
 chgrp -R wheel $DEST_DIR
 





More information about the llvm-branch-commits mailing list