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

Infer CPUs for tvOS and watchOS when on Apple Silicon #16547

Conversation

BalestraPatrick
Copy link
Member

This PR contains the same logical change as aaae8ce but for watchOS and tvOS. When on Apple Silicon, we should build for the right CPU architecture. This is sim_arm64 for tvOS and arm64 for watchOS.

On a separate note, I'm not sure if i386 should be the default architecture for watchOS anymore. I'm happy to change that to x86_64 to align with all the other platforms if people agree.

@ShreeM01 ShreeM01 added team-Rules-ObjC Issues for Objective-C maintainers awaiting-review PR is awaiting review from an assigned reviewer labels Oct 26, 2022
@lberki lberki requested review from susinmotion and removed request for lberki October 26, 2022 07:05
@brentleyjones
Copy link
Contributor

@bazel-io flag

@bazel-io bazel-io added the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Oct 26, 2022
@ShreeM01
Copy link
Contributor

@bazel-io fork 6.0.0

@bazel-io bazel-io removed the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Oct 26, 2022
@BalestraPatrick BalestraPatrick deleted the watchos-tvos-infer-cpu branch October 26, 2022 18:35
ShreeM01 added a commit that referenced this pull request Oct 26, 2022
This PR contains the same logical change as aaae8ce but for watchOS and tvOS. When on Apple Silicon, we should build for the right CPU architecture. This is `sim_arm64` for tvOS and `arm64` for watchOS.

On a separate note, I'm not sure if `i386` should be the default architecture for watchOS anymore. I'm happy to change that to `x86_64` to align with all the other platforms if people agree.

Closes #16547.

PiperOrigin-RevId: 483997916
Change-Id: I67b7f2e2edac5184787f3c3511dc49bb4aeef108

Co-authored-by: Patrick Balestra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review PR is awaiting review from an assigned reviewer team-Rules-ObjC Issues for Objective-C maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants