Skip to content

Upgrade swift-crypto and related packages #79391

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 3 commits into from

Conversation

cmcgee1024
Copy link
Member

@cmcgee1024 cmcgee1024 commented Feb 14, 2025

The current version of swift-crypto has bugs in its CMakeLists.txt that prevents
linking on macOS under certain circumstances. Update swift-crypto to the latest
release with the fixes. Since the new swift-crypto has a dependency on swift-asn1
add it in any build scripts that use CMake so that the dependency can be found
and not vendored by the CMake build file at a misaligned version. Bump related
package swift-asn1 to the latest versions.

@cmcgee1024 cmcgee1024 marked this pull request as ready for review February 17, 2025 12:37
@cmcgee1024
Copy link
Member Author

@swift-ci please test

@@ -2822,6 +2822,7 @@ function Build-SourceKitLSP($Arch) {
TSC_DIR = (Get-HostProjectCMakeModules ToolsSupportCore);
LLBuild_DIR = (Get-HostProjectCMakeModules LLBuild);
ArgumentParser_DIR = (Get-HostProjectCMakeModules ArgumentParser);
SwiftASN1_DIR = (Get-HostProjectCMakeModules ASN1);
Copy link
Member

Choose a reason for hiding this comment

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

cc: @compnerd

@shahmishal
Copy link
Member

@swift-ci build toolchain

@cmcgee1024
Copy link
Member Author

Many of the failures are related to and outdated swift-tools version (5.8.1) while swift-crypto now requires 5.9.

@cmcgee1024
Copy link
Member Author

@swift-ci build toolchain

@cmcgee1024
Copy link
Member Author

The current failures are caused by the following:

@cmcgee1024
Copy link
Member Author

@swift-ci build toolchain

@cmcgee1024 cmcgee1024 closed this Mar 3, 2025
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