Skip to content

Rename "CC Destination" to "Swift SDK" #6424

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 4 commits into from
Apr 15, 2023
Merged

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Apr 13, 2023

"Cross-compilation destination" is a very verbose name. "Swift SDK" (note that this is distinct from just plain "SDK" used in other contexts) is a nicer alternative. Not all of the types and functions were renamed yet, especially Destination, which has been present in the codebase for long time. Renaming that type will be potentially source-breaking for libSwiftPM clients. This change is focused on updating user-visible strings and renaming types and functions that were added only recently. CLI subcommands were renamed accordingly.

"Cross-compilation destination" is a very verbose name. "Swift SDK" (note that this is distinct from just plain "SDK" used in other contexts) is a nicer alternative. Not all of the types and functions were renamed yet, especially `Destination`, which has been present in the codebase for long time. Renaming that type will be potentially source-breaking for libSwiftPM clients. This change is focused and updating user-visible strings and renaming types and functions that were only recently added. CLI subcommands were renamed accordingly.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

MaxDesiatov commented Apr 13, 2023

Not sure if the Linux CI failure is sporadic:

/home/build-user/swiftpm/Sources/PackageCollectionsSigning/Key/Key+RSA.swift:151:120: error: cannot find type 'EVP_PKEY' in scope
        let key = try bytes.withUnsafeBufferPointer { (ptr: UnsafeBufferPointer<UInt8>) throws -> UnsafeMutablePointer<EVP_PKEY> in
                                                                                                                       ^~~~~~~~

cc @yim-lee

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov self-assigned this Apr 13, 2023
@MaxDesiatov
Copy link
Contributor Author

Does not seem to be sporadic, reproducible here again and also in #6425

@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

There's a regression in Swift Crypto 2.4.1 on Linux that makes our Linux bootstrapping jobs to fail.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

1 similar comment
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) April 14, 2023 12:25
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@yim-lee
Copy link
Contributor

yim-lee commented Apr 15, 2023

@swift-ci please test Windows platform

@MaxDesiatov MaxDesiatov merged commit ce9f5b2 into main Apr 15, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/swift-sdks-renaming branch April 15, 2023 07:32
@MaxDesiatov MaxDesiatov restored the maxd/swift-sdks-renaming branch April 17, 2023 14:12
@MaxDesiatov MaxDesiatov deleted the maxd/swift-sdks-renaming branch April 17, 2023 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants