-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add swift-crypto dependency #3202
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
@swift-ci please smoke test |
1 similar comment
@swift-ci please smoke test |
Does this mean we need to add
|
Right, it looks as if swift-crypto isn't able to build with CMake. But is it needed for bootstrapping? CMake is only used in order to get a swift-build that can build itself. Would it be too convoluted to factor the dependency on swift-crypto so it isn't needed by swift-build itself? |
I dont know that that is true for Windows (tho would be nice to have minimal pre step) @compnerd ? |
Motivation: This is to support swiftlang/swift-package-manager#3202, which adds swift-crypto as a dependency to SwiftPM. Modifications: Add CMake files. Result: Can build swift-crypto with cmake.
Motivation: This is to support swiftlang/swift-package-manager#3202, which adds swift-crypto as a dependency to SwiftPM. Modifications: Add CMake files. Result: Can build swift-crypto with cmake.
Unless you plan on using these new crypto features when building SPM with itself, which shouldn't be necessary since |
Windows definitely relies on the CMake build to get a fully functional SPM. The manifest execution is a problem - there is no concept of rpath, and static linking for Swift modules is unsupported. We currently are reliant on CMake for the complete build. |
Motivation: This is to support swiftlang/swift-package-manager#3202, which adds swift-crypto as a dependency to SwiftPM. Modifications: Add CMake files. Result: Can build swift-crypto with cmake.
Motivation: This is to support swiftlang/swift-package-manager#3202, which adds swift-crypto as a dependency to SwiftPM. Modifications: Add CMake files. Result: Can build swift-crypto with cmake.
Alright, I didn't know you weren't building SPM with SPM on Windows and are using the CMake-configured build of SPM instead on that platform. |
Motivation: This is to support swiftlang/swift-package-manager#3202, which adds swift-crypto as a dependency to SwiftPM. Modifications: Add CMake files. Result: Can build swift-crypto with cmake.
@yim-lee BTW, if we land swiftlang/swift#35507, we could use cross-repository testing together with the swift-crypto PR -- might be worth it to get a fully end-to-end test on CI before we land the changes in swift-crypto? Then maybe pinning a version in |
Motivation: This is to support swiftlang/swift-package-manager#3202, which adds swift-crypto as a dependency to SwiftPM. Modifications: Add CMake files. Result: Can build swift-crypto with cmake.
Motivation: This is to support swiftlang/swift-package-manager#3202, which adds swift-crypto as a dependency to SwiftPM. Modifications: Add CMake files. Result: Can build swift-crypto with cmake.
Motivation: This is to support swiftlang/swift-package-manager#3202, which adds swift-crypto as a dependency to SwiftPM. Modifications: Add CMake files. Result: Can build swift-crypto with cmake.
Motivation: This is to support swiftlang/swift-package-manager#3202, which adds swift-crypto as a dependency to SwiftPM. Modifications: Add CMake files. Result: Can build swift-crypto with cmake. Co-authored-by: Saleem Abdulrasool <[email protected]> Co-authored-by: Saleem Abdulrasool <[email protected]>
dfc1a40
to
016cb35
Compare
001ef8a
to
b01bfac
Compare
@swift-ci please smoke test |
Build error seems unrelated:
|
@swift-ci please smoke test |
We've moved past the cmake build issues. The "Swift Test macOS Platform (smoke test)" failure is:
@neonichu |
Motivation: The same requirement is being added to SwiftPM as part of swiftlang/swift-package-manager#3202. Without this change SourceKit-LSP will fail to build with error: ``` the library 'SKSwiftPMWorkspace' requires macos 10.10, but depends on the product 'SwiftPM-auto' which requires macos 10.15; consider changing the library 'SKSwiftPMWorkspace' to require macos 10.15 or later, or the product 'SwiftPM-auto' to require macos 10.10 or earlier. ``` Modification: Require macOS 10.15. Result: SourceKit-LSP builds successfully with changeset swiftlang/swift-package-manager#3202.
@swift-ci please smoke test |
Motivation: Package collections feature will require swift-crypto dependency. Modifications: - Add swift-crypto dependency - Bump minimum macOS version to 10.15, for it's required by swift-crypto
Requires apple/swift-crypto#65
b01bfac
to
0d7b440
Compare
@swift-ci please smoke test |
🥳 all green! |
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.
LGTM
Testing apple/swift-crypto#67 @swift-ci please smoke test |
@swift-ci please smoke test |
🥳 |
Motivation:
Upcoming package collections feature will require swift-crypto dependency.
Modifications: