Skip to content

[macOS] Only bundle gen_snapshot_${target_arch} #161245

Open
@cbracken

Description

On most platforms, we support only a single host architecture and a single target architecture per build. macOS supports both arm64 and x86_64 host platforms via multi-arch (universal) binaries generated with the lipo tool and as such, we have two gen_snapshot binaries, one for each target architecture. These binaries are universal binaries named gen_snapshot_${target_arch}. The unqualified gen_snapshot binary used for other platforms is unused on macOS and we should eliminate it from the cache, and update all references in the tool.

Related issues:

Previous attempt at this PR:

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-macBuilding on or for macOS specificallyteam-macosOwned by the macOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-macosTriaged by the macOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions