mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This adds support for the following builds: * macOS host builds on both x86_64 and arm64 Macs. * macOS target builds on both x86_64 and arm64 Macs. Previously, macOS target builds for any architecture were possible only on x86_64 Macs. Similarly, macOS host builds were only supported on x86_64 Macs, and only for the x86_64 architecture. arm64 host builds were not possible on Intel Macs. When building on arm64 macs, builds are performed under Rosetta for two reasons: * The Fuchsia clang toolchain for arm64 macOS is not yet available. * Swiftshader (used by our engine tests) doesn't support building OpenGL support as an arm64 binary. See: https://github.com/flutter/flutter/issues/103386 Followup patches will move our use of Swiftshader to a "Swangle" (Swiftshader + ANGLE) configuration, eliminating the Swiftshader issue above. Issue: https://github.com/flutter/flutter/issues/96745 Issue: https://github.com/flutter/flutter/issues/79403