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

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

Commits on Mar 1, 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
    
    Closes bazelbuild#14816.
    
    PiperOrigin-RevId: 431641312
    (cherry picked from commit 1ec1068)
    keith authored and brentleyjones committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    cffd672 View commit details
    Browse the repository at this point in the history