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 @@ -2980,12 +2980,13 @@ for host in "${ALL_HOSTS[@]}"; do
2980
2980
#
2981
2981
# Exclude shell scripts and static archives.
2982
2982
# Exclude swift-api-digester dSYM to reduce debug toolchain size.
2983
+ # Run sequentially -- dsymutil is multithreaded and can be memory intensive
2983
2984
(cd " ${host_symroot} " &&
2984
2985
find ./" ${CURRENT_PREFIX} " -perm -0111 -type f -print | \
2985
2986
grep -v ' .py$' | \
2986
2987
grep -v ' .a$' | \
2987
2988
grep -v ' swift-api-digester' | \
2988
- xargs -n 1 -P ${BUILD_JOBS} ${dsymutil_path} )
2989
+ xargs -n 1 -P 1 ${dsymutil_path} )
2989
2990
2990
2991
# Strip executables, shared libraries and static libraries in
2991
2992
# `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