Ignore shell scripts when doing "dsymutil" call.
authorBill Wendling <isanbard@gmail.com>
Tue, 18 Dec 2007 19:21:52 +0000 (19:21 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 18 Dec 2007 19:21:52 +0000 (19:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45166 91177308-0d34-0410-b5e6-96231b3b80d8

utils/buildit/build_llvm

index 48d30f795f258540d8fa92086b9899ea9f65a65f..cc2fd088ab29f5ba4b2f862fd3b2e90173e3fccf 100755 (executable)
@@ -201,7 +201,8 @@ cd $SYM_DIR || exit 1
 rm -rf * || exit 1
 
 # Generate .dSYM files
-find $DEST_DIR -perm -0111 -type f -print | xargs -n 1 -P ${SYSCTL} dsymutil
+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} dsymutil
 
 # Save .dSYM files and .a archives
 cd $DEST_DIR || exit 1