lab-micropython-editor icon indicating copy to clipboard operation
lab-micropython-editor copied to clipboard

Request: ARM build for Mac?

Open andypiper opened this issue 2 years ago • 4 comments

Recognising that this is early days, would it be possible to request that Mac builds target Apple Silicon as well as / ahead of Intel? thanks!

andypiper avatar Nov 11 '22 22:11 andypiper

@andypiper Thank you for this, as an M1 user myself I want an arm64 build but we're prioritising bugs and features. Unfortunately GitHub does not support Apple Silicon runners, so it can't be automated but should be made ad-hoc on a private machine. We plan on adding it to the build process for manually building from source 🙂

ubidefeo avatar Nov 14 '22 10:11 ubidefeo

Understood! It was fairly straightforward to build locally. Thanks.

andypiper avatar Nov 14 '22 11:11 andypiper

Apple Silicon runners recently became available to open source projects. It seems pretty straight forward to activate a Apple Silicon runner (single line change in .github/workflows/build.yml at jobs > build > strategy > matrix > config), but it looks like supporting both x64 and arm64 would need a tiny bit more thought.

The simplest approach looks to be have two different runners (macos-14 for Apple Silicon and macos-13 for x64 are currently mutually exclusive w.r.t. Github runner availability), and remove the special-case forcing electron-build to only generate for x86. I've started a PR #95, looking for feedback from someone who understands the build process more than me.

mikecee avatar Mar 12 '24 20:03 mikecee

Coming once PR #116 is merged to development and later main. Expect 0.9.2 to have this in a few days, when we'll merge our latest fixes.

Thank you for the patience :)

ubidefeo avatar Apr 19 '24 06:04 ubidefeo

hi is there a version for raspi 5? thanks

Lapporatory992 avatar May 18 '24 17:05 Lapporatory992

Looks like this issue is now resolved! Thanks.

andypiper avatar May 20 '24 13:05 andypiper