Skip to content

Commit f608eef

Browse files
authored
---
yaml --- r: 348908 b: refs/heads/master c: f5dd971 h: refs/heads/master
1 parent c779df1 commit f608eef

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 03ae7a206fd3fec6253644f5aee6adef9543b569
2+
refs/heads/master: f5dd971ae37e4f65e45aa9cc2138b498d5ee08be
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/utils/build-script-impl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3453,7 +3453,7 @@ for host in "${ALL_HOSTS[@]}"; do
34533453
if [ "${BUILD_LIBPARSER_ONLY}" ]; then
34543454
# We don't have a toolchain so we should install to the specified dir
34553455
DYLIB_DIR="${INSTALL_DESTDIR}"
3456-
MODULE_DIR="${INSTALL_DESTDIR}/${product}.swiftmodule/${SWIFT_HOST_VARIANT_ARCH}"
3456+
MODULE_DIR="${INSTALL_DESTDIR}/${product}.swiftmodule"
34573457
# Create the install dir if it doesn't exist
34583458
call mkdir -p "${INSTALL_DESTDIR}"
34593459
# Install libParser is necessary
@@ -3463,14 +3463,15 @@ for host in "${ALL_HOSTS[@]}"; do
34633463
else
34643464
# We have a toolchain so install to the toolchain
34653465
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"
34673467
fi
34683468
if [[ "${SKIP_SWIFTSYNTAX_SWIFTSIDE}" ]]; then
34693469
continue
34703470
fi
34713471
set_swiftsyntax_build_command
34723472
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
34743475
else
34753476
call "${swiftsyntax_build_command[@]}" --dylib-dir="${DYLIB_DIR}" --install
34763477
fi

0 commit comments

Comments
 (0)