-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[build-script] Pass updated arguments to SwiftSyntax's build script #27566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci Please test |
utils/build-script-impl
Outdated
@@ -3443,7 +3443,7 @@ for host in "${ALL_HOSTS[@]}"; do | |||
if [ "${BUILD_LIBPARSER_ONLY}" ]; then | |||
# We don't have a toolchain so we should install to the specified dir | |||
DYLIB_DIR="${INSTALL_DESTDIR}" | |||
MODULE_DIR="${INSTALL_DESTDIR}" | |||
MODULE_DIR="${INSTALL_DESTDIR}/SwiftSyntax.swiftmodule/${SWIFT_HOST_VARIANT_ARCH}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use ${product}
for SwiftSyntax
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Changed it.
Build failed |
This fixes an issue that caused SwiftSyntax's module to not be properly installed.
2cf40f2
to
c4814cb
Compare
@swift-ci Please test |
Build failed |
Build failed |
@ahoppen question. Can you try using the build-script toolchain approach? Rather than using build-script-impl? |
nm, I see you are actually doing that! Big +1 from me! |
Update the parameters passed to SwiftSyntax's build script to fix an issue that caused SwiftSyntax's module to not be properly installed.
Corresponds to swiftlang/swift-syntax#151