monero icon indicating copy to clipboard operation
monero copied to clipboard

Add MacOS Arm artifact output

Open preland opened this issue 1 year ago • 2 comments

This PR edits the depends GitHub Actions workflow to export the macOS Arm artifact alongside the pre-existing x86_64 macOS artifact.

This is an intermediary step for creating universal macOS binaries for monero.

preland avatar Jun 09 '24 16:06 preland

The main benefit of universal binaries is reduced platform dependency on MacOS. While x86 MacOS binaries can be ran on Arm using a translation layer, this does come with some drawbacks in performance, as well as lack of support for newer processor instruction sets (although this may not be an issue for monero currently). This results in downstream Monero projects building for both x86 and Arm separately (see https://github.com/haveno-dex/haveno/issues/843).

preland avatar Jun 12 '24 00:06 preland

Right, I meant not much benefit for us in monero since we support separate x86 and ARM binaries.

Benefits

  • Having a single Mac binary is easier for end user

Downsides

  • Larger binary size, takes longer to download
  • Difficult to integrate with our reproducible build system

it's not worth it in my opinion

selsta avatar Jun 12 '24 00:06 selsta