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
2978
2978
#
2979
2979
# Exclude shell scripts and static archives.
2980
2980
# Exclude swift-api-digester dSYM to reduce debug toolchain size.
2981
+ # Run sequentially -- dsymutil is multithreaded and can be memory intensive
2981
2982
(cd " ${host_symroot} " &&
2982
2983
find ./" ${CURRENT_PREFIX} " -perm -0111 -type f -print | \
2983
2984
grep -v ' .py$' | \
2984
2985
grep -v ' .a$' | \
2985
2986
grep -v ' swift-api-digester' | \
2986
- xargs -n 1 -P ${BUILD_JOBS} ${dsymutil_path} )
2987
+ xargs -n 1 -P 1 ${dsymutil_path} )
2987
2988
2988
2989
# Strip executables, shared libraries and static libraries in
2989
2990
# `host_install_destdir`.
Original file line number Diff line number Diff line change @@ -46,11 +46,12 @@ function xcrun_find_tool() {
46
46
# Run dsymutil on executables and shared libraries.
47
47
#
48
48
# Exclude shell scripts.
49
+ # Run sequentially -- dsymutil is multithreaded and can be memory intensive
49
50
(cd " ${INSTALL_SYMROOT} " &&
50
51
find ./" ${INSTALL_PREFIX} " -perm -0111 -type f -print | \
51
52
grep -v crashlog.py | \
52
53
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) )
54
55
55
56
# Strip executables, shared libraries and static libraries in INSTALL_DIR.
56
57
find " ${INSTALL_DIR}${INSTALL_PREFIX} /" \
You can’t perform that action at this time.
0 commit comments