-
Notifications
You must be signed in to change notification settings - Fork 710
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
arm64-linux binaries are now available for all releases #1369
Conversation
It looks like the builder didn't actually upload the binary (https://logs.chromium.org/logs/emscripten-releases/buildbucket/cr-buildbucket/8751121556423129441/+/u/Archive_Binaries__aarch64_/stdout) I guess I need to fix the upload logic. |
If we want to test this, I can reproduce that build and upload it manually... |
Oh.. so it only uploaded the one arch and not both? If that is easy for you to do that would be great. Otherwise we can wait until the next release I guess |
Yes. https://chromium-review.googlesource.com/c/emscripten-releases/+/5445121 should fix that.
I think it shouldn't be too hard. I realized that with the build code as written the arch name is going to be 'aarch64' instead of 'arm64' which is what it looks like the emsdk code currently expects. This a mismatch with mac, but that's intentional because aarch64 is what the architecture is actually called on Linux (which doesn't match mac). I think it would be straightforward to change that in build.py though; do you have a preference? |
Lets stick with ( |
I don't disagree that the name is weird, but many things are still simpler if you match the name used by the system. |
nice! |
Worked for me locally:
|
|
Oops, I raced with you on restarting the failed job and cancelled the wrong one. I just restarted again. |
@@ -213,48 +213,17 @@ jobs: | |||
executor: linux_arm64 | |||
steps: | |||
- checkout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need the same 'install docker' and 'setup_remote_docker' steps as x64?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It didn't have them before so I guess not? Not sure why.
We can now suggest the arm64 folks try out the latest toolchain with |
Thanks for your hard work on this @sbc100! 🎉 🙇 Huge benefit for those of us on ARM based machines. |
You're welcome. You can really thank @dschuff for getting the cross build working. Please let us know ASAP if these binaries are working. |
Thanks for this @sbc100 and @dschuff! :D :D It seems to compile object files ok, but is dying on calling the node-based closure compiler for me. Java isn't installed in the Linux VM or on the macOS host, where build is successful.
on command line:
If I try to manually re-install the node_modules inside ~/src/emsdk/upstream/emscripten it complains that arm64 Linux is not supported for google closure compiler:
Workaround: install java ( |
Thanks for testing Brooke! I believe the issue is that the closure compiler npm module we depend on supplies native binaries, but I guess not for linux/arm64. See https://www.npmjs.com/package/google-closure-compiler-linux. The emscripten code handles this by falling back to So I guess the best solution is to install java.. and then maybe file a bug on the https://www.npmjs.com/package/google-closure-compiler-linux package to ask for native support (which is faster). |
(Sorry I see now that you worked all that out on your own :) |
No description provided.