-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
provide AppImage release for arm / aarch64 #15143
Comments
I believe that is blocked by not having ARM64 runners for GH Actions: actions/runner-images#2552 |
Looks like it's stuck as a wontfix for now too... One solution is a self hosted GH runner, AWS has ARM instances, as well as a few others here and there. I imagine this would need a benevolent user to donate an instance to happen though, and it's open to abuse by malicious PRs. Also it's probably a nightmare to keep upright. https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners. |
Well we could use such a thing only for nightly builds, and not for PR runs (whose queue probably is going to be impossible anyway, unless we spinn up a lot of instances) |
Why don't you use docker buildx? |
Could you post an example action & docker file, if you have one already that is, save some ground work. Edit: actually there are some provided in the linked issue: actions/runner-images#2552 (comment)
I will try to look into this, but the linked issue also states builds take 5 times as long which might get killed by the CI warden? I think they cap out at 45min/action? |
Yeah, build time for amd64 and arm64 containers together take just over an hour... but still better than having nothing for arm64, especially as there are going to be more of them around... |
Is this why I cant use the App Image? or the tar package. I get a "Exec format err" for both. I believe i am having an issue with the Ubuntu package(at least i think i am) the unstable build is version 5.01Lua and not LuaJIT. Unless this is not a problem. I am having issues with LuaRocks not being present, its affecting packer.nvim. Or im stupid and have no idea what I am talking about. I just want to program Svelte lol but I cant seem to get my LSP right lol. |
Just noting down WIP here: https://github.com/rktjmp/neovim/tree/ci-arm Don't use the released files in that repo yet, they are a mix of arm64 and amd64 because arm builds too slow for testing. |
Draft PR #15542 which needs some testing by actual users. |
With the understanding that there might not be a ARM device for building the ARM package, is cross-compiling something open for discussion here? There are many aged ARM devices re-enabled for regular work scenarios (e.g. thin-terminal, IoT controller, file/printer sharing, etc.) by Linux. |
The PR above would support any platform QEMU does, just have to add the arch to the matrix. That may be simpler than setting up cross compilation toolchains in "normal" builds. I imagine the core team would have to weigh up potential support costs (issue triage, platform quirks, etc) if they were to provide separate binaries for many platforms, but an industrious user could probably:
|
Maybe that will help: https://www.oracle.com/cloud/free/ Oracle Cloud provide a Free Tier which include an instance always free with an ARM CPU and 24GB of RAM |
GitHub ARM64 runner issue is now tracked here: actions/runner-images#5631 |
Now MacOS M1 is GA: https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source Sadly, M1 doesn't support nested virtualization due to architectural issue: But, if just need for runner, is good to open PR now. |
Yes, and that is why we are still blocked. No native ARM linux runners == no official native ARM linux releases. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Just to chime in, to build on your own machine(tested on Ubuntu 22.04 via UTM on Mac M1):
I used /opt/nvim for <NEOVIM_LOCATION>
Credit: https://carlosahs.medium.com/how-to-install-neovim-from-source-on-ubuntu-20-04-lts-524b3a91b4c4 |
@xnzac i get that point, but again, u have tested on Mac M1. Try on rpi or some linux based os with cpu arch of arm.
Link on their official doc |
ARM based instances are now in public beta. Hopefully this unblocks this issue now. |
nvim --version
: N/AActual behaviour
there is no AppImage for aarch64 platforms. this means users like me who do not use x86_64 and run a distribution without the latest version in its repositories, will have to build it ourselves if we want the latest.
Expected behaviour
an AppImage for aarch64 is provided.
The text was updated successfully, but these errors were encountered: