Skip to content

[Build] Determine the early SwiftSyntax build directory in build-script-impl #61211

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

Merged

Conversation

DougGregor
Copy link
Member

@DougGregor DougGregor commented Sep 20, 2022

Cross-compilation of the host depends on iteration over all of the host architectures within build-script-impl itself, so the computation of the build directory must occur in build-script-impl. Sink it down there to fix builds for multiple host architectures.

Addresses rdar://100182363, wherein I broke all of the builds involving multiple cross-compiled hosts.

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please test source compatibility

…pt-impl

Cross-compilation of the host depends on iteration over all of the host
architectures within build-script-impl itself, so the computation of
the build directory must occur in build-script-impl. Sink it down there
to fix builds for multiple host architectures.
@DougGregor DougGregor force-pushed the swiftsyntax-build-multi-host-archs branch from ea3d50b to b037a7c Compare September 20, 2022 22:20
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

The @swift-ci please test Windows

@DougGregor DougGregor merged commit e1ffd24 into swiftlang:main Sep 21, 2022
@DougGregor DougGregor deleted the swiftsyntax-build-multi-host-archs branch September 21, 2022 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant