-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Update Windows Toolchain Build for LSP to Include SwiftSyntax #61595
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
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.
Agreed with @stevapple - we currently are not building SwiftSyntax, and this will need to introduce that build and shuffle the dependencies accordingly.
b19e8cd
to
98c847a
Compare
Thanks @stevapple. How does it look now? |
It looks like |
That's an artifact of the brutal hacks we need to get the syntax library linking right. I've updated things on the LSP end so they'll accept and interpret the base path correctly. |
utils/build-windows-toolchain.bat
Outdated
@@ -635,11 +656,12 @@ cmake ^ | |||
-D SwiftPM_DIR=%BuildRoot%\14\cmake\modules ^ | |||
-D IndexStoreDB_DIR=%BuildRoot%\15\cmake\modules ^ | |||
-D SwiftCollections_DIR=%BuildRoot%\13\cmake\modules ^ | |||
-D SwiftSyntax_DIR=%BuildRoot%\16 ^ |
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.
If I wasn’t misunderstanding the CMakeLists
…
-D SwiftSyntax_DIR=%BuildRoot%\16 ^ | |
-D SwiftSyntax_DIR=%BuildRoot%\16\cmake ^ |
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.
Not any more. This is accounted for in the cmake for LSP
@swift-ci smoke test |
Pairs well with swiftlang/sourcekit-lsp#651