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

Fix iOS/tvOS simulator builds actually being device builds, on arm64 #95

Conversation

directhex
Copy link

Ref: dotnet/runtime#50005

Indispensable: the chart on rust-lang/rust#48862

@directhex
Copy link
Author

@directhex
Copy link
Author

The explainer:

ICU builds specify, condensed: "Build against AppleTVSimulator.sdk, minimum tvOS version 9.0"

What's critical here is this combination doesn't exist. There is a separate Clang parameter for specifying tvOS simulator version. It is silently changing the specified values:

  • x64: Build against AppleTVSimulator.sdk, minimum tvOS simulator version 9.0 (instead of tvOS version)
  • arm64: Build against AppleTVOS.sdk (instead of AppleTVSimulator.sdk), minimum tvOS version 9.0

This patch fixes the build so simulator builds explicitly request a simulator version, so clang doesn't silently override the SDK to build against.

@directhex
Copy link
Author

Private build has passed.

@directhex directhex merged commit 370a34d into dotnet:maint/maint-67 Mar 22, 2021
directhex pushed a commit that referenced this pull request May 13, 2022
* add valgrind job to pipeline

* correct paths for valgrind script
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.

2 participants