Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion utils/build-script-impl
Original file line number Diff line number Diff line change
Expand Up @@ -2980,12 +2980,13 @@ for host in "${ALL_HOSTS[@]}"; do
#
# Exclude shell scripts and static archives.
# Exclude swift-api-digester dSYM to reduce debug toolchain size.
# Run sequentially -- dsymutil is multithreaded and can be memory intensive
(cd "${host_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})
xargs -n 1 -P 1 ${dsymutil_path})

# Strip executables, shared libraries and static libraries in
# `host_install_destdir`.
Expand Down
3 changes: 2 additions & 1 deletion utils/parser-lib/darwin-extract-symbols
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ function xcrun_find_tool() {
# Run dsymutil on executables and shared libraries.
#
# Exclude shell scripts.
# Run sequentially -- dsymutil is multithreaded and can be memory intensive
(cd "${INSTALL_SYMROOT}" &&
find ./"${INSTALL_PREFIX}" -perm -0111 -type f -print | \
grep -v crashlog.py | \
grep -v symbolication.py | \
xargs -n 1 -P ${BUILD_JOBS} $(xcrun_find_tool dsymutil))
xargs -n 1 -P 1 $(xcrun_find_tool dsymutil))

# Strip executables, shared libraries and static libraries in INSTALL_DIR.
find "${INSTALL_DIR}${INSTALL_PREFIX}/" \
Expand Down