-
Notifications
You must be signed in to change notification settings - Fork 232
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
Support ARM architectures as a host archicture #77
Comments
Yes, in dbhi/qus seven host architectures are supported with the Debian variant: amd64, i386, arm64v8, arm32v7, arm32v6, s390x and ppc64le. With the Fedora variant, only six are supported; arm32v6 is not. For aarch64, the following images can be used:
To register any or all of the nine supported client architectures. |
@umarcor thanks for the sharing! |
Yes, everything is executed in Travis. The most important feature of dbhi/qus is that everything is public. There is no step at all that maintainers need to do offline. It is a x86_64 host, but the project is about executing foreign arcuitectures, so we use it as a kind of 'inception'. For example, to build the aarch64 host image:
All of it is defined in the travis.yml file and in the run.sh script. Precisely, images are built in the first stage: https://github.com/dbhi/qus/blob/master/.travis.yml#L45-L70. As you see, there are two jobs, one for images based on binaries provided by Debian and another one for images based on binaries provided by Fedora. You can focus on the latter only: https://travis-ci.com/dbhi/qus/jobs/224057179. The 'block' corresponding to each host is shown in magenta, and the steps in each of them have blue headers. All of it is triggered with Hope this is useful to you! Do not hesitate to ask further questions. |
@umarcor thank you! It's very helpful! I will try to understand, taking a look at the source code! |
Good news. Travis started supporting ARM 64-bit. |
But I also love Drone CI supporting ARM 64/32-bit. |
@umarcor I am reading
It seems this logic is
I see you are building qus arch container on qemu. |
First off, note that GitHub Actions are used now, apart from Travis: https://github.com/dbhi/qus/blob/master/docs/dev.md
Yes. |
Thanks for the explanation! I love the metaphor 'inception'. We might also be living on QEMU ? :-) |
@moul in this project's case, shall we use Travis ( |
For you information. Apple announced the own ARM based CPU 2 days ago. Supporting aarch64 as a host architecture is more important than ever. https://www.apple.com/mac/m1/ |
Be aware that QEMU's scripts might not support running 32 bit ARM binaries on aarch64-only devices (yet). See dbhi/qus#4. |
Hello, was curious to know if there was an update on this ? |
Thanks will give it a try! |
Is this a bug report, feature (enhancement) request or question? (leave only one on its own line)
/kind enhancement
Description:
There are tickets that has an error because the executed host architecture is not x86_64. Right now only x86_64 are supported. Because we only use
qemu-user-static
RPM x86_64 package in.travis.yml
.https://github.com/multiarch/qemu-user-static/blob/master/.travis.yml#L25
To support other architectures, we need to add new piple line to
.travis.yml
, downloading the arch's qemu-user-static as input.I think a similar project might support ARM architectures as a host architecture. I am not sure.
https://github.com/dbhi/qus
Additional information optionally:
Related tickets: #8 , #36 ,
The text was updated successfully, but these errors were encountered: