-
Notifications
You must be signed in to change notification settings - Fork 59
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
Build arm64 images #45
Comments
Hey @rossburton, I tried this out: https://travis-ci.com/github/rewitt1/yocto-dockerfiles/builds/173076130. Since all the distros have arm64 images, they should all work. However, there are failures due to a couple of reasons. It tries to use an x86_64 version of buildtools. I can't try an arm64 version since it seems it isn't published. The other failure is due to trying to include gcc-multilib and g++-multilib packages in the debian based distros. This could of course be made conditional. We could choose to not build the distros that need buildtools for arm64, but it would be nice to be able to keep them symmetric. |
Thanks Randy! I fixed the buildtools thing last week, the 3.2M1 release included arm64 tarballs if you can grab those directly. gcc-multilib just isn't a thing on anything but x86-64, so making that conditional seems sensible. |
Looks like this works with the changes I mentioned, and using the milestone buildtools. https://travis-ci.com/github/rewitt1/yocto-dockerfiles/builds/173740817 Are there any plans to add the arm64 buildtools tarballs to 3.1, or do we wait until the October release to try and enable this? |
That's awesome. If I can get docker on my box I'll give it a go.
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=stable/dunfell-nut&id=64a1a6947e0f772772835fd937a9322b7f17551c
is queued for the Dunfell branch, so using those is the correct thing to do
right now.
…On Tue, 30 Jun 2020 at 22:11, Randy Witt ***@***.***> wrote:
@rossburton <https://github.com/rossburton>,
Looks like this works with the changes I mentioned, and using the
milestone buildtools.
https://travis-ci.com/github/rewitt1/yocto-dockerfiles/builds/173740817
Are there any plans to add the arm64 buildtools tarballs to 3.1, or do we
wait until the October release to try and enable this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAH5CTGHOEI2FDQWSWND4LRZJIJPANCNFSM4OFQVDYA>
.
|
Are there plans to start publishing Aarch64 images? I just found crop and attempted a yocto build on my HoneyComb box and the images failed to start. I am attempting a local build of the images now. |
@jnettlet Any updates? Did you get the builds working on aarch64? |
As far as I understand it, we will need a |
There are docker container builders that can run inside a qemu-system, but I don't know much more than that. |
Any update on this? It looks like since this issue was last interacted with GitHub has made movements on providing native-ARM runners for open-source projects like this: https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/, https://resources.github.com/devops/accelerate-your-cicd-with-arm-and-gpu-runners-in-github-actions/ Additionally, it appears that an action exists that abstracts over running commands in an ARM qemu instance: https://github.com/marketplace/actions/arm-runner |
@keplersj feel free to send a pull request to implement building for ARM. It appears that the ARM GitHub Actions runners are only preview and you have to sign up for a waitlist. |
Oh boy do I have an update https://github.blog/2024-06-03-arm64-on-github-actions-powering-faster-more-efficient-build-systems/ |
This is good news. Someone still needs to figure out how to enable that in our current structure. For instance, people try to replace the shell scripts with GitHub actions. No. We have already been through a TravisCI to GitHub Actions transition and that was only really possible because the real meat of the work was done by the shell scripts. I'd love to see arm64 containers. I am just not going to be the person to implement that. I have MANY more urgent things on my plate. If you want this, please send PRs. Ask questions if you are in doubt. |
@rossburton tag, you're it. |
Docker supports arm64, so it would be great if crops could also build arm64 images.
The text was updated successfully, but these errors were encountered: