Skip to content

Update instructions to build SourceKit-LSP on Windows #1742

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

Closed
wants to merge 1 commit into from

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 8, 2024

No description provided.

@ahoppen
Copy link
Member Author

ahoppen commented Oct 8, 2024

@swift-ci Please test

@@ -38,17 +38,13 @@ $ swift build -Xcxx -I/usr/lib/swift -Xcxx -I/usr/lib/swift/Block

### Windows

You must provide the following dependencies for SourceKit-LSP:
- SQLite3 ninja
To build SourceKit-LSP on Windows, swift-syntax needs to be built as dynamic libraries so it does not exceed the maximum symbol limit in a single binary. Additionally, the equivalent search paths to the linux build need to be passed. Run the following in Command Prompt.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"swift-syntax needs to be built as dynamic libraries" reads a little weird to me, how about:

Suggested change
To build SourceKit-LSP on Windows, swift-syntax needs to be built as dynamic libraries so it does not exceed the maximum symbol limit in a single binary. Additionally, the equivalent search paths to the linux build need to be passed. Run the following in Command Prompt.
To build SourceKit-LSP on Windows, the swift-syntax libraries need to be built as dynamic libraries so we do not exceed the maximum symbol limit in a single binary. Additionally, the equivalent search paths to the linux build need to be passed. Run the following in Command Prompt.

@ahoppen
Copy link
Member Author

ahoppen commented Oct 14, 2024

Closing in favor of #1754

@ahoppen ahoppen closed this Oct 14, 2024
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.

2 participants