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