Skip to content

Support Apple Silicon natively #709

Open
@axic

Description

@axic

While due to Rosetta fizzy will just work on macOS, it would make sense considering supporting dual-binary builds with Apple Silicon.

From https://developer.apple.com/documentation/apple_silicon/addressing_architectural_differences_in_your_macos_code:
image

But probably stdc++ hides this difference for us.

CMake features: https://cmake.org/cmake/help/latest/envvar/CMAKE_APPLE_SILICON_PROCESSOR.html and https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_ARCHITECTURES.html

And a helpful tip (from https://cutecoder.org/software/detecting-apple-silicon-shell-script/) to force architecture selection: arch -arm64 fizzy-bench

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions