Skip to content

Conversation

@DougGregor
Copy link
Member

Similar to the way the early Swift Driver is built, introduce a
build-script option --early-swiftsyntax that uses the host Swift and
CMake to build the parts of the swift-syntax package that are expected
to become be used in the compiler.

Note that this does not obviate the need for the --swiftsyntax
option, because that build product uses the just-built Swift compiler
and SwiftPM to build, test, and install everything from the
swift-syntax package.

This depends on swiftlang/swift-syntax#646, but is off by default.

…tsyntax`

Similar to the way the early Swift Driver is built, introduce a
build-script option `--early-swiftsyntax` that uses the host Swift and
CMake to build the parts of the swift-syntax package that are expected
to become be used in the compiler.

Note that this does not obviate the need for the `--swiftsyntax`
option, because that build product uses the just-built Swift compiler
and SwiftPM to build, test, and install everything from the
swift-syntax package.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

Merging now. This is off-by-default, doesn't break anything, and does seem to build the library as expected. We can tune things post-merge.

@DougGregor DougGregor merged commit 98e5025 into swiftlang:main Aug 28, 2022
@DougGregor DougGregor deleted the build-early-swiftsyntax branch August 28, 2022 06:01
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