File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3445,7 +3445,7 @@ for host in "${ALL_HOSTS[@]}"; do
3445
3445
if [ " ${BUILD_LIBPARSER_ONLY} " ]; then
3446
3446
# We don't have a toolchain so we should install to the specified dir
3447
3447
DYLIB_DIR=" ${INSTALL_DESTDIR} "
3448
- MODULE_DIR=" ${INSTALL_DESTDIR} "
3448
+ MODULE_DIR=" ${INSTALL_DESTDIR} / ${product} .swiftmodule/ ${SWIFT_HOST_VARIANT_ARCH} "
3449
3449
# Create the install dir if it doesn't exist
3450
3450
call mkdir -p " ${INSTALL_DESTDIR} "
3451
3451
# Install libParser is necessary
@@ -3455,14 +3455,14 @@ for host in "${ALL_HOSTS[@]}"; do
3455
3455
else
3456
3456
# We have a toolchain so install to the toolchain
3457
3457
DYLIB_DIR=" ${host_install_destdir}${host_install_prefix} /lib/swift/${SWIFT_HOST_VARIANT} "
3458
- MODULE_DIR=" ${DYLIB_DIR} /${SWIFT_HOST_VARIANT_ARCH} "
3458
+ MODULE_DIR=" ${DYLIB_DIR} /${product} .swiftmodule/ ${ SWIFT_HOST_VARIANT_ARCH}"
3459
3459
fi
3460
3460
if [[ " ${SKIP_SWIFTSYNTAX_SWIFTSIDE} " ]]; then
3461
3461
continue
3462
3462
fi
3463
3463
set_swiftsyntax_build_command
3464
3464
if [[ -z " ${SKIP_INSTALL_SWIFTSYNTAX_MODULE} " ]] ; then
3465
- call " ${swiftsyntax_build_command[@]} " --dylib-dir=" ${DYLIB_DIR} " --swiftmodule-dir " ${MODULE_DIR} " --install
3465
+ call " ${swiftsyntax_build_command[@]} " --dylib-dir=" ${DYLIB_DIR} " --swiftmodule-base-name " ${MODULE_DIR} " --install
3466
3466
else
3467
3467
call " ${swiftsyntax_build_command[@]} " --dylib-dir=" ${DYLIB_DIR} " --install
3468
3468
fi
You can’t perform that action at this time.
0 commit comments