File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2978,12 +2978,13 @@ for host in "${ALL_HOSTS[@]}"; do
29782978 #
29792979 # Exclude shell scripts and static archives.
29802980 # Exclude swift-api-digester dSYM to reduce debug toolchain size.
2981+ # Run sequentially -- dsymutil is multithreaded and can be memory intensive
29812982 (cd " ${host_symroot} " &&
29822983 find ./" ${CURRENT_PREFIX} " -perm -0111 -type f -print | \
29832984 grep -v ' .py$' | \
29842985 grep -v ' .a$' | \
29852986 grep -v ' swift-api-digester' | \
2986- xargs -n 1 -P ${BUILD_JOBS} ${dsymutil_path} )
2987+ xargs -n 1 -P 1 ${dsymutil_path} )
29872988
29882989 # Strip executables, shared libraries and static libraries in
29892990 # `host_install_destdir`.
Original file line number Diff line number Diff line change @@ -46,11 +46,12 @@ function xcrun_find_tool() {
4646# Run dsymutil on executables and shared libraries.
4747#
4848# Exclude shell scripts.
49+ # Run sequentially -- dsymutil is multithreaded and can be memory intensive
4950(cd " ${INSTALL_SYMROOT} " &&
5051 find ./" ${INSTALL_PREFIX} " -perm -0111 -type f -print | \
5152 grep -v crashlog.py | \
5253 grep -v symbolication.py | \
53- xargs -n 1 -P ${BUILD_JOBS} $( xcrun_find_tool dsymutil) )
54+ xargs -n 1 -P 1 $( xcrun_find_tool dsymutil) )
5455
5556# Strip executables, shared libraries and static libraries in INSTALL_DIR.
5657find " ${INSTALL_DIR}${INSTALL_PREFIX} /" \
You can’t perform that action at this time.
0 commit comments