Skip to content

Add support for MacOS with ARM CPUs (CMake + GitHub Action) #21

@siggmo

Description

@siggmo

So far, we had indirect support for MacOS arm64 machines like the MacBook Air with M1 CPU by providing linux/arm64 Docker images. That however in turn required emulation on the GitHub Actions runners as they run on x86 CPUs. This required to use explicit Docker calls in the workflows, and worse, hugely increased build and test times as emulation is very slow.

Now we decided to stop maintaining linux/arm64 support (at least until there are native linux/arm64 runners available for GitHub Actions). Instead we would like to natively support MacOS on ARM, for which there are runners available (macos-latest).

To Do

  • Determine exact dependencies on MacOS on arm64 and how to install them
  • Adapt CMake recipe for MacOS (dependency checking, RPATH settings, compiler?, installation procedure, packaging, ...)
  • Create a build and test GitHub Actions workflow for MacOS
  • Possibly changes to the source code itself (?)
  • Did I forget something?

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