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

add support for arm64 architecture for watchOS devices (Xcode 14) #16182

Closed
aleksandergrzyb opened this issue Aug 29, 2022 · 1 comment
Closed
Labels
team-Rules-ObjC Issues for Objective-C maintainers type: feature request untriaged z-team-Apple Deprecated. Send to rules_apple, or label team-Rules-CPP + platform:apple

Comments

@aleksandergrzyb
Copy link

Description of the feature request:

Xcode 14 adds arm64 architecture for watchOS devices:

Screenshot 2022-08-29 at 12 33 42

Currently Bazel only supports armv7k and arm64_32.

When you would like to build for watchOS device using arm64 architecture (watchOS_arm64) currently it will get incorrectly mapped to watchOS simulator which already supports arm64 architecture.

I've already submitted PR (#16181) with proposed changes:

  • Adds watchos_arm64 to supported watchOS device architectures.
  • Renames watchos_arm64 to watchos_sim_arm64 (following the convention as for tvOS and iOS).

What underlying problem are you trying to solve with this feature?

I would like to build in Xcode 14 for watchOS devices with arm64 architecture.

Which operating system are you running Bazel on?

macOS Monterey 12.5.1

What is the output of bazel info release?

release 5.3.0

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

@sgowroji sgowroji added type: feature request z-team-Apple Deprecated. Send to rules_apple, or label team-Rules-CPP + platform:apple untriaged team-Rules-ObjC Issues for Objective-C maintainers labels Aug 29, 2022
@keith
Copy link
Member

keith commented Dec 18, 2023

This CPU was added in ce61164 but I just submitted rules support to cover it bazelbuild/apple_support#289 bazelbuild/rules_apple#2342

if you still see issues with those please file an issue!

@keith keith closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Rules-ObjC Issues for Objective-C maintainers type: feature request untriaged z-team-Apple Deprecated. Send to rules_apple, or label team-Rules-CPP + platform:apple
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants