-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Cannot build on aarch64 #44936
Comments
Ripgrep is not built for aarch64 - I'm guessing it should just not download and not fail the install. Also it's annoying that yarn hides the helpful error output. |
Well there shouldn't be an issue compiling ripgrep for aarch64, is this an issue I need to make with ripgrep? |
No that's on me, we build our own for vscode. It sounds like that's just 64-bit ARM? I should be able to build that although I might not be able to test it. |
I am fine with testing it since I have the hardware |
Could you download the linux-aarch64 zip from here https://github.com/roblourens/ripgrep/releases/tag/0.8.1, unzip it, run rg from the command line, and tell me whether it seems to work? |
It seems to work
|
Any reason you closed this issue? I just tried to build from a clean master branch and I got the usual error:
|
It seems there are other dependencies causing trouble as well, I ran
|
I renamed the zip to 'arm64' instead of 'aarch64' although I thought that they weren't quite the same thing. But it should find it now. Electron is a bigger issue, you may have to search around or build it yourself. |
https://github.com/electron/electron/releases/ It seems like electron indeed has support for arm64, according to the log I posted it would seem like you would swap the link out and it could work. Have you tried with any of their arm64 releases? |
I think the next one is electron-mksnapshot, which creates v8 snapshots. It sounds like they aren't publishing arm64 builds. I think vscode will work fine without it, you could try removing that dependency. |
The build went fine until I ran into this
|
Oh, this is probably because we don't actually ship the electron builds from the electron repo (which has arm64 builds), we ship internal electron builds which may not build arm64. I should mention that we don't officially support arm, but try to unblock it at least. Not sure if @Tyriar has anything to add. I guess we are building electron for arm internally, do you know whether arm64 is supported? |
Our internal builds only occur when building through our own CI so you're doing an OSS build correctly, Electron 1.7.7 doesn't seem to support arm64 is the issue https://github.com/electron/electron/releases/tag/v1.7.7. We don't support this right now so we can't help much, you might find #6442 as a useful resource (which this is a duplicate of). |
Is there a reason vscode can't update to the newer(est) version of electron that does support arm64? |
We are working on updating electron. It will happen eventually. |
The plan is to move to Electron v1.7.12 for v1.22 and hopefully to Electron v2.0.x for v1.23 |
Is there a specific milestone that this is planned for? |
This month is 1.22 (#45632), next month is 1.23 |
Steps to Reproduce:
vscode
repository and install the dependenciesyarn
command at the project rootYou will get the following error if you are running an aarch64 workstation:
The text was updated successfully, but these errors were encountered: