-
Notifications
You must be signed in to change notification settings - Fork 26
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
Builds for arm64 hosts #54
Comments
Asahi Linux is starting to super-solid distribution for M1/M2/M3 Macs. Also Lenovo has been pushing Snapdragon powered laptops for two generations now already. |
And when compiling systemd-enabled BuildRoot image, I've never been successful using self-bootstrapped toolchain. I.e. sometimes this can be a real functional blocker.. |
@jarkkojs could you clarify which issues you've encountered when trying to use self-bootstrapped toolchains with Buildroot? Because if that doesn't work on ARM64, toolchains-builder won't be able to build toolchains for ARM64 hosts... as toolchains-builder uses Buildroot to build its toolchains. |
@rgov the problem is that in order to provide this, we would need access to ARM64 hosts machines that can run gitlab-runner, and be ready to build ~200 toolchains (it takes quite some time) |
Arm64 runners are publicly available for GitHub Actions as of June 2024, but understandably this would be a significant change to your CI system. Could you not use your own cross-compile toolchains to target Arm64 binaries on an x86 build system, with qemu-user-static / binfmt_misc available to run any Arm64 binaries that are needed for the build process? I don't know how the Docker containers factor into your build system, but Docker has pretty good support for non-native containers (using the same qemu-user-static) although at a larger performance cost. |
@rgov Pointed me to this thread when I mentioned having an M1 Mac mini gathering dust. @tpetazzoni I'm happy to volunteer said device as a runner for Bootlin. Just let me know if you're interested. |
Hello @p-linnane, interesting! Could you perhaps drop me an e-mail so that we can see how this could work? You can reach me at thomas.petazzoni AT bootlin.com. |
@tpetazzoni I can after next week I'm on holiday for this week still and try to stay off the grid ;-) But yes, I can provide an example for sure. |
Correct. When I filed the bug I was using the toolchain within a Linux VM on Arm64 hardware while working with the Nvidia Jetson SDK. |
With the availability of ARM-based Macs, Chromebooks, Raspberry Pis, etc., it would be useful to have the toolchains released for arm64 hosts.
The text was updated successfully, but these errors were encountered: