Feature Request: Support for iOS Simulator ARM64
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 409
- PR merge metrics
- No merged PRs in 30d
Description
I'm looking to build a fat Xcode xcframework via Bazel that pulls in cpuinfo as a dependency. When trying to build an iOS Simulator arm64 variation, I get the following error:
ERROR: <REDACTED>/cpuinfo/BUILD.bazel:100:11: configurable attribute "srcs" in @cpuinfo//:cpuinfo_impl doesn't match this configuration. Would a default condition help?
Conditions checked:
@cpuinfo//:linux_x86_64
@cpuinfo//:linux_arm
@cpuinfo//:linux_armhf
@cpuinfo//:linux_armv7a
@cpuinfo//:linux_armeabi
@cpuinfo//:linux_aarch64
@cpuinfo//:linux_mips64
@cpuinfo//:linux_riscv64
@cpuinfo//:linux_s390x
@cpuinfo//:macos_x86_64
@cpuinfo//:macos_arm64
@cpuinfo//:windows_x86_64
@cpuinfo//:android_armv7
@cpuinfo//:android_arm64
@cpuinfo//:android_x86
@cpuinfo//:android_x86_64
@cpuinfo//:ios_x86_64
@cpuinfo//:ios_x86
@cpuinfo//:ios_armv7
@cpuinfo//:ios_arm64
@cpuinfo//:ios_arm64e
@cpuinfo//:watchos_x86_64
@cpuinfo//:watchos_x86
@cpuinfo//:watchos_armv7k
@cpuinfo//:watchos_arm64_32
@cpuinfo//:tvos_x86_64
@cpuinfo//:tvos_arm64
@cpuinfo//:emscripten_wasm
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at BUILD.bazel around line 100 and inspect the platform conditions used for cpuinfo_impl. Reproduce the Bazel build for an iOS Simulator ARM64 xcframework, then update the configuration so that build completes for that target and verify the existing platform builds remain valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, ios
- Domain
- build-system, mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100