Skip to content

Conversation

@cmcgee1024
Copy link
Member

Add new swift-crypto on asn1 to the bootstrap script

Motivation:

The newest version of swift-crypto has a dependency on swift-asn1. Without providing the directory the CMakeLists.txt of swift-crypto will attempt to vendor a specific version of that library that may not match what is in the update-checkout version using in Swift CI, which can lead to mismatched symbols during linking.

Modifications:

This fix adds the swift-asn1 dependency to swift-crypto by adding the directory for swift-asn1 to cmake when building swift-crypto.

Result:

After the change the new dependency from swift-crypto should be ready for when the new version of the lib is adopted.

@plemarquand
Copy link
Contributor

@swift-ci please test

@neonichu neonichu merged commit bdb59e8 into swiftlang:main Feb 17, 2025
5 checks passed
bripeticca pushed a commit to bripeticca/swift-package-manager that referenced this pull request Feb 28, 2025
Add new swift-crypto on asn1 to the bootstrap script

### Motivation:

The newest version of swift-crypto has a dependency on swift-asn1.
Without providing the directory the CMakeLists.txt of swift-crypto will
attempt to vendor a specific version of that library that may not match
what is in the update-checkout version using in Swift CI, which can lead
to mismatched symbols during linking.

### Modifications:

This fix adds the swift-asn1 dependency to swift-crypto by adding the
directory for swift-asn1 to cmake when building swift-crypto.

### Result:

After the change the new dependency from swift-crypto should be ready
for when the new version of the lib is adopted.
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.

4 participants