Skip to content

Preparing for Apple Silicon Macs #318

@TheSpydog

Description

@TheSpydog

Since the Apple Silicon Macs are on their way, and especially now that devkits are starting to ship, we need to figure out what all must be done to prepare for their arrival. Thankfully Apple is working on porting Mono to Apple Silicon, so that much is taken care of, but there are still several other items we'll need to figure out:

  • SDL2 support. I expect the new architecture (and/or Big Sur) will break parts of SDL, so it will need to be thoroughly tested. Additionally, since we only ship tagged releases of SDL2, we're limited by their release schedule. Hopefully they'll release 2.0.14 (or whatever) with Apple Silicon support sooner rather than later.
  • Native library compilation and distribution. Aside from any potential SDL2 problems, the fnalibs are already known to work well on ARM, but we'll need to figure out a new cross-compilation toolchain and a means of distributing them separately from the current osx binaries. (Maybe we could ship them in a new osx-arm folder?)
  • MonoKickstart universal binary support. I have absolutely no idea how universal binaries are supposed to work, or if they're backwards compatible with older mac versions, or how Kick can manage them.
  • The current DllMap uses target=osx arch=armv8 lines to remap iOS libs to "__Internal". This is going to cause conflicts with the new macs, so we'll need to remove those lines. Maybe we could distribute a separate app.config file for iOS?

There are probably other issues I'm not thinking of. Feel free to mention anything I missed. Thankfully we still have some time before consumer machines start shipping, so we should be able to complete all of this before then!

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