-
Notifications
You must be signed in to change notification settings - Fork 10.5k
WIP: build-script: add a flag to build libSwiftSyntaxParser only. #21901
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 smoke test |
3618fb0
to
6792481
Compare
@swift-ci please smoke test |
6792481
to
c3f3286
Compare
utils/build-script-impl
Outdated
@@ -1824,6 +1824,16 @@ function set_swiftsyntax_build_command() { | |||
SWIFT_TEST="$(build_directory_bin ${LOCAL_HOST} swiftpm)/swift-test" | |||
fi | |||
|
|||
if [ "${BUILD_LIBPARSER_ONLY}" ]; then | |||
# we don't have a compiler built so we have to use the one in the environment. | |||
SWIFTC_USE="$(xcrun_find_tool swiftc)" |
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.
Nitpick but SWIFTC_BIN
is better name here, it's used in other places in this script representing the same thing as 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.
Done
c3f3286
to
6b34648
Compare
@swift-ci please smoke test |
6b34648
to
eefa0b1
Compare
@swift-ci please smoke test |
No description provided.