Skip to content

Add SwiftASN1 as dep in CMakeLists file #2139

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

dschaefer2
Copy link
Member

SwiftPM has added Crypto related functionality to Workspace to support signing of the swift-syntax prebuilts manifest signing. This breaks sourcekit-lsp builds on Windows complaining about SwiftASN1 being missing. Adding a clause here to match the one in SwiftPM's CMakeLists.txt file.

SwiftPM has added Crypto related functionality to Workspace to
support signing of the swift-syntax prebuilts manifest signing.
This breaks sourcekit-lsp builds on Windows complaining about
SwiftASN1 being missing. Adding a clause here to match the one
in SwiftPM's CMakeLists.txt file.
@dschaefer2
Copy link
Member Author

Related SwiftPM PR: swiftlang/swift-package-manager#8610

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

Do you also need to add corresponding search paths here so that we can find ASN1 when running SourceKit-LSP tests on Windows? https://github.com/swiftlang/swift/blob/88de66523c786d16a6cf43e5f9798ce27118594d/utils/build.ps1#L2948

@dschaefer2
Copy link
Member Author

Yup, thanks!

@dschaefer2
Copy link
Member Author

@swift-ci please test

@dschaefer2
Copy link
Member Author

@ahoppen can I get this merged? (Also why can't I do that?)

@ahoppen ahoppen merged commit 8fe1b2e into swiftlang:main May 8, 2025
3 checks passed
@dschaefer2 dschaefer2 deleted the swiftpm-swiftasn1 branch May 8, 2025 14:49
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