-
Notifications
You must be signed in to change notification settings - Fork 216
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
Support ARM builds for macOS #775
Comments
Another blocker to be aware of: Currently there are no ARM builds of Node for MacOS. There are Linux ARM64 builds, which I believe Volta supports (though it needs to be manually compiled since we don't create pre-packaged binaries for it), but as of right now there aren't any pre-built Node binaries to download for |
Indeed! I actually just mentioned as much in my application for a dev kit. 🤞 |
I just tried install Volta on linux and its not supported. So maybe it makes sense to get linux working first? |
@jrock2004 can you elaborate? We definitely have a bunch of users on Linux, so are you meaning Linux with ARM specifically? |
@chriskrycho This is what I get |
Thanks for the report! Which OS and what architecture are you running? |
Ubuntu server for raspberry pi 4 on ARM |
Thanks! That's helpful, and it is a great suggestion as a starting point here! |
@jrock2004 That's true, as I noted above, we don't currently create pre-built binaries that work with our installer for Linux in ARM. I do believe that Volta itself supports that architecture, but it would require building from source, which may or may not be feasible for your use-case. It unfortunately looks like GitHub actions doesn't currently support architectures other than |
Could we use Docker for ARM on Linux? |
One other thing to consider, we should implement #34 as well as checking the architecture when trying to download Node, so we know if the version is available for the Mac + ARM combination. |
Note: the relevant architecture is now a Tier 2 supported target; I will see if I can give this a go on my DTK next week. (And hey, maybe not too long after than, on regular hardware!) |
Just wanted to check in on this, how are things going? |
Haven't had a chance to poke at it yet, but my discussions with the Rust folks working on it indicated (a) it should be pretty straightforward to build, including automated builds once GitHub Actions supports it, and (b) the Rosetta version should work just fine in the meantime. |
A couple of notes that we'll probably need to fix even once things compile:
|
Done in the 1.0.1 release! Also added #919 to track supporting M1 native Node builds once they become available. |
At WWDC 2020, Apple announced upcoming Macs will ship with ARM processors. We'll want to add support for those as soon as makes good sense:
This is currently blocked:
aarch64-apple-ios
is the same architecture, which could make an interesting situation name-wise. 😂)The text was updated successfully, but these errors were encountered: