Skip to content

Commit 66158f8

Browse files
committed
[build-script] Make lib_InternalSwiftSyntaxParser.dylib fat
Run `recursive-lipo` on `lib_InternalSwiftSyntaxParser.dylib` to make it a fat dylib that contains slices for all platforms. Resolves rdar://78039407
1 parent 4163ae5 commit 66158f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3332,7 +3332,7 @@ if [[ ${#LIPO_SRC_DIRS[@]} -gt 0 ]]; then
33323332
else
33333333
LIPO_PATH="${HOST_LIPO}"
33343334
fi
3335-
call "${SWIFT_SOURCE_DIR}"/utils/recursive-lipo --lipo=${LIPO_PATH} --copy-subdirs="$(get_host_install_prefix ${host})lib/swift $(get_host_install_prefix ${host})lib/swift_static" --explicit-src-files="$(get_host_install_prefix ${host})lib/swift/${host%%-*}/lib_InternalSwiftScan.dylib" --destination="$(get_host_install_destdir ${mergedHost})" ${LIPO_SRC_DIRS[@]}
3335+
call "${SWIFT_SOURCE_DIR}"/utils/recursive-lipo --lipo=${LIPO_PATH} --copy-subdirs="$(get_host_install_prefix ${host})lib/swift $(get_host_install_prefix ${host})lib/swift_static" --explicit-src-files="$(get_host_install_prefix ${host})lib/swift/${host%%-*}/lib_InternalSwiftScan.dylib $(get_host_install_prefix ${host})lib/swift/${host%%-*}/lib_InternalSwiftSyntaxParser.dylib" --destination="$(get_host_install_destdir ${mergedHost})" ${LIPO_SRC_DIRS[@]}
33363336

33373337
if [[ $(should_execute_action "${mergedHost}-lipo") ]]; then
33383338
# Build and test the lipo-ed package.

0 commit comments

Comments
 (0)