crc icon indicating copy to clipboard operation
crc copied to clipboard

[Spike] build macOS universal fat binaries for crc and supporting tools

Open anjannath opened this issue 2 years ago • 2 comments

To support macOS M1 chips, we can create universal fat binaries, and for the releases we can build only one pkg that'll work natively on both the platforms which provides a better UX

  • https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
  • https://dev.to/thewraven/universal-macos-binaries-with-go-1-16-3mm3
  • https://github.com/electron/universal (for electron tray)
  • <options hostArchitectures="arm64,x86_64" /> pkg Distribution xml
  • https://github.com/randall77/makefat

anjannath avatar May 31 '22 07:05 anjannath

@anjannath what is left for this task?

gbraad avatar Jun 27 '22 05:06 gbraad

These PRs are still not merged: https://github.com/code-ready/vfkit/pull/3 https://github.com/code-ready/admin-helper/pull/35

Universal binaries were manually generated and added to existing admin-helper/vfkit releases though

cfergeau avatar Jun 27 '22 10:06 cfergeau

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 20 '22 21:09 stale[bot]