haxe icon indicating copy to clipboard operation
haxe copied to clipboard

[ci] Make mac universal builds more universal

Open tobil4sk opened this issue 1 year ago • 5 comments

Right now the haxelib binary in the "universal" mac builds is only x64. To fix this we need to build haxelib with an arm64 build of neko.

First we need arm64 builds of neko, see: https://github.com/HaxeFoundation/neko/pull/288

tobil4sk avatar May 09 '24 11:05 tobil4sk

The arm64 builds of neko are now available at https://build.haxe.org/builds/neko/mac-arm64/. However, the mac installer package script needs to be updated to use a universal binary for neko as well.

tobil4sk avatar Jun 06 '24 14:06 tobil4sk

However, the mac installer package script needs to be updated to use a universal binary for neko as well.

Hi @tobil4sk! We'd like to move this whole universal mac thing forward to release it (on 4.3.x too), but I'm not sure what this means needs to be done exactly :thinking:

kLabz avatar Jun 28 '24 07:06 kLabz

The next step is to create universal neko binaries. The easiest way to do this is to update the neko repo so that it also creates them.

The makefile for creating the package installer pulls the binaries from a github release, so we'll need a new neko release on github to host the binaries. We could use a prerelease to test everything is working. There's a few neko PRs that would be good to get in before a final release though.

tobil4sk avatar Jun 28 '24 08:06 tobil4sk

Thanks! Though I'm not sure yet how to proceed there.

We might want to keep the neko changes to a minimum for now (4.3.5 release) though; what do you think @Simn ?

kLabz avatar Jun 28 '24 08:06 kLabz

I agree.

Simn avatar Jun 28 '24 09:06 Simn