mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user