Merge pull request #31012 from apple/shahmishal/drop-swift-api-digester-dsym

Disable creating swift-api-digester dSYM to reduce toolchain size
This commit is contained in:
Mishal Shah
2020-04-14 17:44:01 -07:00
committed by GitHub

View File

@@ -2826,10 +2826,12 @@ for host in "${ALL_HOSTS[@]}"; do
# Run dsymutil on executables and shared libraries.
#
# Exclude shell scripts and static archives.
# Exclude swift-api-digester dSYM to reduce debug toolchain size.
(cd "${INSTALL_SYMROOT}" &&
find ./"${CURRENT_PREFIX}" -perm -0111 -type f -print | \
grep -v '.py$' | \
grep -v '.a$' | \
grep -v 'swift-api-digester' | \
xargs -n 1 -P ${BUILD_JOBS} ${dsymutil_path})
# Strip executables, shared libraries and static libraries in