Skip to content

Commit 0501232

Browse files
authored
Merge pull request #31012 from apple/shahmishal/drop-swift-api-digester-dsym
Disable creating swift-api-digester dSYM to reduce toolchain size
2 parents c0776be + 0f5bdb4 commit 0501232

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/build-script-impl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2826,10 +2826,12 @@ for host in "${ALL_HOSTS[@]}"; do
28262826
# Run dsymutil on executables and shared libraries.
28272827
#
28282828
# Exclude shell scripts and static archives.
2829+
# Exclude swift-api-digester dSYM to reduce debug toolchain size.
28292830
(cd "${INSTALL_SYMROOT}" &&
28302831
find ./"${CURRENT_PREFIX}" -perm -0111 -type f -print | \
28312832
grep -v '.py$' | \
28322833
grep -v '.a$' | \
2834+
grep -v 'swift-api-digester' | \
28332835
xargs -n 1 -P ${BUILD_JOBS} ${dsymutil_path})
28342836

28352837
# Strip executables, shared libraries and static libraries in

0 commit comments

Comments
 (0)