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

Workaround for an issue with Cmake builds that happens when cross-compiling using Cmake on macOS x86_64 CPUs with target CPU arm64 #12240

Closed

Commits on Feb 29, 2024

  1. Fix cross-compilation on macOS x86_64 CPUs with target CPU arm64

    by manually setting CMAKE_SYSTEM_PROCESSOR to the cross-compilation target
    whenever CMAKE_SYSTEM_PROCESSOR doesn't match CMAKE_OSX_ARCHITECTURES after project() call.
    This is probably a Cmake bug that happens on macOS.
    (facebook#12239)
    shpala committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    f96fa2d View commit details
    Browse the repository at this point in the history