Skip to content

macos universal2 #6502

@Freed-Wu

Description

@Freed-Wu

Is your feature request related to a problem? Please describe.

macos has a platform named universal2, suppot both arm64 and x86_64.

https://scikit-build-core.readthedocs.io/en/latest/guide/crosscompile.html#intel-to-applesilicon

Now xmake f -a XXX doesn't contain it.

Describe the solution you'd like

    -a ARCH, --arch=ARCH                   Compile for the given architecture. (default: auto)
                                               - macosx: x86_64 arm64 universal2

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions