Skip to content
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

When calculating the target triple for 'arm64-apple-ios<version>-simulator' targets, correctly specify the minimum supported OS #1247

Conversation

brentleyjones
Copy link
Collaborator

Precompiled pcm files will be generated with the target triple, however the minimum supported version for arm64 on an ios-simulator is 14.0. Any minimum OS under 14 will be raised to 14 by the swift driver and clang tools. This logic is not applied to the AST serialized into pcm object files. To ensure the AST is correctly specified, adjust the target triple to configure the lower bounds correctly.

PiperOrigin-RevId: 458248769
(cherry picked from commit b100c3f)

…lator' targets, correctly specify the minimum supported OS

Precompiled pcm files will be generated with the target triple, however the minimum supported version for arm64 on an ios-simulator is 14.0. Any minimum OS under 14 will be raised to 14 by the swift driver and clang tools. This logic is not applied to the AST serialized into pcm object files. To ensure the AST is correctly specified, adjust the target triple to configure the lower bounds correctly.

PiperOrigin-RevId: 458248769
(cherry picked from commit b100c3f)
Signed-off-by: Brentley Jones <github@brentleyjones.com>
brentleyjones referenced this pull request Jun 21, 2024
…lator' targets, correctly specify the minimum supported OS.

Precompiled pcm files will be generated with the target triple, however the minimum supported version for arm64 on an ios-simulator is 14.0. Any minimum OS under 14 will be raised to 14 by the swift driver and clang tools. This logic is not applied to the AST serialized into pcm object files. To ensure the AST is correctly specified, adjust the target triple to configure the lower bounds correctly.

PiperOrigin-RevId: 458248769
@brentleyjones brentleyjones merged commit 620fc29 into master Jun 21, 2024
14 checks passed
@brentleyjones brentleyjones deleted the bj/when-calculating-the-target-triple-for-arm64-apple-ios-version-simulator-targets-correctly-specify-the-minimum-supported-os branch June 21, 2024 14:07
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.

3 participants