Skip to content

[6.2] Use SWIFT_COMPILER_VERSION before SWIFT_TOOLCHAIN_VERSION if it exists #82516

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

Draft
wants to merge 1 commit into
base: release/6.2
Choose a base branch
from

Conversation

bnbarham
Copy link
Contributor

@bnbarham bnbarham commented Jun 26, 2025

Explanation: Uses SWIFT_COMPILER_VERSION in replacement of TOOLCHAIN_VERSION if it has been set. SWIFT_COMPILER_VERSION is currently set for all release tags vs TOOLCHAIN_VERSION which is set for all.

Scope: An extra field in -print-target-info

Original PRs: #82514

Risk: Low/none - the only risk here is that swiftCompilerTag ends up being removed from -print-target-info, but nothing is currently using it.

We should eventually split these, but for now SWIFT_COMPILER_VERSION
matches SWIFT_TOOLCHAIN_VERSION when it's actually set. Just use it in
preference to SWIFT_TOOLCHAIN_VERSION.

(cherry picked from commit 3a272d0)
@bnbarham bnbarham requested a review from a team as a code owner June 26, 2025 00:37
@bnbarham bnbarham added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Jun 26, 2025
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham bnbarham marked this pull request as draft June 26, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant