-
Notifications
You must be signed in to change notification settings - Fork 71
Upgrade runner and package architectures #314
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
Conversation
Supports aarm64 architectures. Renames osx to be macos
Is there some way to avoid dropping support for x86_64 MacOS machines? I think we are going to have to continue to support running emscirpten on x86_64 mac for a while now. See emscripten-core/emsdk#1548. |
I don't think we've had x86 support for quite some time. The build runner was set to |
Github actions might not support x86 macOS by default, but it seems there are enough x86 MacOS devices in the wild that we should continue to support them. Especially since there is no reverse-Rosetta as a fallback, so instead or running binary in emulation mode such users will just see a hard crash. Also, I'm not sure what you mean by "I don't think we've had x86 support for quite some time", that current npm release of closure compiler (the one that folks are using today) includes an x86 macOS binary. |
But are you sure it actually works on an x86 intel Mac? I know the package.json says it does, but I believe the binary was built on an arm processor and will only execute on an ARM Mac. |
With this change, Intel Mac users will fall back to utilizing the Java version. That seems very appropriate given that this is now a minority of Macs. |
The current release (which was built 1 year, and which we ship in emscripten) does have an x86 binary in it :
I guess it just happens to run on arm machines due to Rosetta. |
True, that seems like one option. However it does require those users to install the JVM, which I'm not sure ships enabled by default with macOS. Including/bundling the JVM as part of the emscripten SDK is possible, might be possible but seems like lot extra compexity/size just to run this one binary. |
There's definitely an effort/reward piece to this too. This is an open-source project and keeping up with multiple npm packages and the build jobs takes effort. |
Would you be interesting in contributions in this area? I will look into how smooth/feasible the Java fallback is for x86 users, but it may be worth our time (emscripten) to help out here instead of relying on Java. |
Absolutely - as long as it also comes with helping keeping up with general runner maintenance (actions need version bumps, base runner images need updated, node versions have to be bumped, etc). |
Uh oh!
There was an error while loading. Please reload this page.