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

Use apple-m1 as the base mcpu for aarch64-apple-darwin #44347

Merged
merged 1 commit into from
Mar 16, 2022

Commits on Feb 25, 2022

  1. Use apple-m1 as the base march for aarch64-apple-darwin

    Since the Apple devkits are all presumably returned to Apple at this
    point, it doesn't make sense to continue to build for the earlier a12
    model, we should just build for the M1 explicitly.  LLVM supports
    `-mcpu=apple-m1` since LLVM 13.0.0-rc1 [0].  Clang 13 (ships with
    Xcode 13) understands this, so it's a safe bet that this can be used
    with the C compiler that is generating this code as well.
    
    [0]
    llvm/llvm-project@a8a3a43
    staticfloat committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    78657b8 View commit details
    Browse the repository at this point in the history