Skip to content

[Apple][NFC] Update macOS aligned version for lit config #143576

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thetruestblue
Copy link
Contributor

@thetruestblue thetruestblue commented Jun 10, 2025

This updates the aligned version for version 26.

Note: This change is for correctness only and has no functional impact currently. get_macos_aligned_version is currently only consumed when substituting flags based on min version.

rdar://152851947

@thetruestblue
Copy link
Contributor Author

@DanBlackwell @padriff

@@ -602,7 +602,7 @@ def get_ios_commands_dir():

def get_macos_aligned_version(macos_vers):
platform = config.apple_platform
if platform == "osx":
if platform == "osx" or macos_vers >= 26:
Copy link
Contributor

Choose a reason for hiding this comment

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

macos_vers is a tuple right? Should this be macos_vers[0] >= 26 then?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ha, you're totally right! Fixed.

This updates the aligned version for version 26.

rdar://152851947
Copy link
Contributor

@wrotki wrotki left a comment

Choose a reason for hiding this comment

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

LGTM, after Dan's comment was addressed

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.

4 participants