Skip to content

[5.1] Fix default CPU for macOS and iOS#14923

Merged
Wyverald merged 1 commit intobazelbuild:release-5.1.0from
brentleyjones:bj/fix-default-cpu-for-macos-and-ios
Mar 2, 2022
Merged

[5.1] Fix default CPU for macOS and iOS#14923
Wyverald merged 1 commit intobazelbuild:release-5.1.0from
brentleyjones:bj/fix-default-cpu-for-macos-and-ios

Conversation

@brentleyjones
Copy link
Copy Markdown
Contributor

Since M1 support was added we started defaulting the CPU for macOS and
iOS builds to the host CPU in the case another CPU wasn't passed. This
change mirrors #13873, #13440 and https://github.com/bazelbuild/rules_apple//commit/99e5b631bf060358241a8eaabd285be5c120490f
in the newer starlark transition.

Without this you end up with architecture mismatches for builds. Fixes #14803

(cherry picked from commit 1ec1068)

Closes #14837.

Loading
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