Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 14, 2024

Depends on #851


When SWIFTSYNTAX_BUILD_DYNAMIC_LIBRARY is specified, change swift-syntax dependencies to depend on a single _SwiftSyntaxDynamic product instead of separate products for each module.

This allows us to build SourceKit-LSP on Windows using SwiftPM without exceeding the maximum symbol limit and thus run SourceKit-LSP tests on Windows.

See swiftlang/sourcekit-lsp#1754 and swiftlang/swift-syntax#2879.

This allows us to build everything required for the executable using CMake and only the test targets using SwiftPM, enabling us to run tests on Windows from build.ps1 with minimal overhead.
When `SWIFTSYNTAX_BUILD_DYNAMIC_LIBRARY` is specified, change swift-syntax dependencies to depend on a single `_SwiftSyntaxDynamic` product instead of separate products for each module.

This allows us to build SourceKit-LSP on Windows using SwiftPM without exceeding the maximum symbol limit and thus run SourceKit-LSP tests on Windows.

See swiftlang/sourcekit-lsp#1754 and swiftlang/swift-syntax#2879.
@ahoppen ahoppen force-pushed the sourcekit-lsp-windows-build branch from aeee2d7 to 79cef55 Compare October 14, 2024 16:05
@ahoppen ahoppen merged commit b267bee into swiftlang:main Oct 14, 2024
15 checks passed
@ahoppen ahoppen deleted the sourcekit-lsp-windows-build branch October 14, 2024 16:18
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