-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Successfull arm64 build #1425
Comments
So what I described up there I did with Have a look at my circleci config, it just hang because of ubuntu's weird necessary user interaction during I patched out the Github stuff from the CircleCI config so I can play around, therefore it is unfit for a PR, but maybe we can get automated arm64 builds running together. |
That's a great success. My CircleCI free tier got full thus the builds were not working anymore. I was already using for a lot other projects before so that's why. Btw, GIthub Actions recently added Apple m1 (aarch64) runner support. So, theoretically we can build linux arm binaries through docker in a macos runner. It'll be better as everything will be done in a single place. |
Ahja! It's impossible to find Apple M1 runners if you only search for aarch64 :( It's kind of a hack, and a shame that github does not provide aarch64 runners just like that, but I'll look into it. |
I was finally able successfully build for aarch64 through Github CI. Well not through M1 because Apple Sillicon doesn't support nested virtualization (Docker in Docker). So used Docker buildx with qemu arm64 emulation to build the flutter app on a traditoinal ubuntu 22.04 runner. |
New updated ARM-64 binaries are available on the nightly RPM is not available though as the packager |
Wow. That's great! Aarch64 emulation on amd64 with qemu is a bit slow, that's what I did in my manual builds. But I got stuck at running docker on mac from the commandline... I never used Mac before 😓 If I get it working eventually we may be able to speed up the build significantly. Great Job! |
Docker in Docker is not nested virtualization, because Docker itself is not virtualization. Just containerization. That works solely with namespaces and separation. But i see how Docker in Docker could bring trouble. |
Closing this since there are aarch64 .deb packages in the release <3 |
I would like to report that I was able to successfully create an arm64 build.
There were several issues in the past regarding this, apparently it is difficult.
I was unsuccessful with RaspberryPiOS and Debian due to old packages, but Ubuntu22.04 arm worked.
The packages mentioned in CONTRIBUTION.md were sufficient.
I used source version v3.6.0, to play around with a tiny media computer on a RaspberryPi and the new remote control feature :D
For it to actually run on RaspberryPiOS I had to patch out discord, otherwise it would not run.
Find ubuntu arm cloud images here.
@KRTirtho What were the issues you had with CircleCI & ARM? I would like to help automate this.
The text was updated successfully, but these errors were encountered: