-
-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ci] Make mac universal builds more universal #11663
[ci] Make mac universal builds more universal #11663
Conversation
This seems to be required with Xcode 15, but was not required previously
52dd092
to
b7a6443
Compare
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. |
Hi @tobil4sk! |
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. |
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 ? |
I agree. |
It can still be configured to specific architectures if needed, using `PACKAGE_INSTALLER_MAC_ARCH`.
This version fixes a permission issue with universal mac binaries
* [ci] Install arm64 neko for arm64 mac builds * [ci] Create universal binary for haxelib * [ci] Build native haxelib binary on arm64 mac * [make] Use universal neko binaries for mac package It can still be configured to specific architectures if needed, using `PACKAGE_INSTALLER_MAC_ARCH`. * [make] Default to host arch for mac installer * [make] Use neko version 2.4.0-rc * [make] Use neko version 2.4.0-rc.1 This version fixes a permission issue with universal mac binaries
* [ci] Install arm64 neko for arm64 mac builds * [ci] Create universal binary for haxelib * [ci] Build native haxelib binary on arm64 mac * [make] Use universal neko binaries for mac package It can still be configured to specific architectures if needed, using `PACKAGE_INSTALLER_MAC_ARCH`. * [make] Default to host arch for mac installer * [make] Use neko version 2.4.0-rc * [make] Use neko version 2.4.0-rc.1 This version fixes a permission issue with universal mac binaries
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:
HaxeFoundation/neko#288