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 default CPU for macOS and iOS #14816

Closed

Commits on Feb 14, 2022

  1. Fix default CPU for macOS and iOS

    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 bazelbuild#13873,
    bazelbuild#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 bazelbuild#14803
    keith committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    3537351 View commit details
    Browse the repository at this point in the history