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 @@ -3443,7 +3443,7 @@ for host in "${ALL_HOSTS[@]}"; do
3443
3443
if [ " ${BUILD_LIBPARSER_ONLY} " ]; then
3444
3444
# We don't have a toolchain so we should install to the specified dir
3445
3445
DYLIB_DIR=" ${INSTALL_DESTDIR} "
3446
- MODULE_DIR=" ${INSTALL_DESTDIR} /${product} .swiftmodule/ ${SWIFT_HOST_VARIANT_ARCH} "
3446
+ MODULE_DIR=" ${INSTALL_DESTDIR} /${product} .swiftmodule"
3447
3447
# Create the install dir if it doesn't exist
3448
3448
call mkdir -p " ${INSTALL_DESTDIR} "
3449
3449
# Install libParser is necessary
@@ -3453,14 +3453,15 @@ for host in "${ALL_HOSTS[@]}"; do
3453
3453
else
3454
3454
# We have a toolchain so install to the toolchain
3455
3455
DYLIB_DIR=" ${host_install_destdir}${host_install_prefix} /lib/swift/${SWIFT_HOST_VARIANT} "
3456
- MODULE_DIR=" ${DYLIB_DIR} /${product} .swiftmodule/ ${SWIFT_HOST_VARIANT_ARCH} "
3456
+ MODULE_DIR=" ${DYLIB_DIR} /${product} .swiftmodule"
3457
3457
fi
3458
3458
if [[ " ${SKIP_SWIFTSYNTAX_SWIFTSIDE} " ]]; then
3459
3459
continue
3460
3460
fi
3461
3461
set_swiftsyntax_build_command
3462
3462
if [[ -z " ${SKIP_INSTALL_SWIFTSYNTAX_MODULE} " ]] ; then
3463
- call " ${swiftsyntax_build_command[@]} " --dylib-dir=" ${DYLIB_DIR} " --swiftmodule-base-name " ${MODULE_DIR} " --install
3463
+ mkdir -p " ${MODULE_DIR} "
3464
+ call " ${swiftsyntax_build_command[@]} " --dylib-dir=" ${DYLIB_DIR} " --swiftmodule-base-name " ${MODULE_DIR} /${SWIFT_HOST_VARIANT_ARCH} " --install
3464
3465
else
3465
3466
call " ${swiftsyntax_build_command[@]} " --dylib-dir=" ${DYLIB_DIR} " --install
3466
3467
fi
You can’t perform that action at this time.
0 commit comments