File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
validation-test/BuildSystem Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -3230,20 +3230,21 @@ for host in "${ALL_HOSTS[@]}"; do
3230
3230
printJSONStartTimestamp dsymutil
3231
3231
(cd " ${host_symroot} " &&
3232
3232
find ./" ${CURRENT_PREFIX} " -perm -0111 -type f -not -name " *.a" -not -name " *.py" -print | \
3233
- xargs -n 1 -P ${DSYMUTIL_JOBS} ${dsymutil_path} )
3233
+ xargs -t - n 1 -P ${DSYMUTIL_JOBS} ${dsymutil_path} )
3234
3234
printJSONEndTimestamp dsymutil
3235
3235
3236
3236
# Strip executables, shared libraries and static libraries in
3237
- # `host_install_destdir`.
3237
+ # `host_install_destdir`. Avoid touching clang builtins .a files.
3238
3238
find " ${CURRENT_INSTALL_DIR}${CURRENT_PREFIX} /" \
3239
3239
' (' -perm -0111 -or -name " *.a" ' )' -type f -print | \
3240
- xargs -n 1 -P ${BUILD_JOBS} $( xcrun_find_tool strip) -S
3240
+ grep_that_allows_no_matches -v " /clang/lib/darwin/" | \
3241
+ xargs -t -n 1 -P ${BUILD_JOBS} $( xcrun_find_tool strip) -S
3241
3242
3242
3243
# Codesign dylibs and executables in usr/bin after strip tool
3243
3244
# rdar://45388785
3244
3245
find " ${CURRENT_INSTALL_DIR}${CURRENT_PREFIX} /" \
3245
3246
' (' ' (' -path " */usr/bin/*" -and -perm -0111 ' )' -or -name " *.dylib" ' )' -type f -print | \
3246
- xargs -n 1 -P ${BUILD_JOBS} $( xcrun_find_tool codesign) -f -s -
3247
+ xargs -t - n 1 -P ${BUILD_JOBS} $( xcrun_find_tool codesign) -f -s -
3247
3248
fi
3248
3249
3249
3250
{ set +x; } 2> /dev/null
Original file line number Diff line number Diff line change 8
8
9
9
# CHECK: --- Extracting symbols ---
10
10
# CHECK: { "command": "dsymutil", "start": "
11
- # CHECK: xargs -n 1 -P 5 {{.*}}dsymutil
11
+ # CHECK: xargs -t - n 1 -P 5 {{.*}}dsymutil
12
12
# CHECK: { "command": "dsymutil", "end": "
You can’t perform that action at this time.
0 commit comments