-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add ARM32/ARM64 CI #930
Add ARM32/ARM64 CI #930
Conversation
1b70c33
to
c709c5c
Compare
6329af9
to
541269f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK mod nit
Wait, the expectation was probably that this should break due to #931. I think this is related to the "shortcut" in configure.ac that simply uses the native toolchain to build gen_context when we're not cross-compiling. In this case, we are cross compiling, so we don't take that shortcut. I'll have a look. |
Ok I think I was a little confused when I wrote that. The issue #931 appears when compiling gen_context for the build machine. On CI, we cross-compile for ARM, so building gen_context for the CI machine is never an issue. I think no simple CI test could test for the breakage in #931. We could of course cross-compile One possible way to do so without fiddling around with the build system would be to rely on Another possible way is to simply add a CI job that manually cross-compiles So I'm not convinced that testing this on CI is worth the hassle. Anyway, my ACK on this PR is still valid. |
Indeed, I realized too late that #931 was in fact related to the build environment for gen_context rather than the ARM asm per se. Still, these are very useful CI targets I think. |
For sure, and this fixes #598. edit: By the way, I'm happy to see that it really wasn't a lot of work to add this build and the mingw build. So it seems that the general structure of the CI is pretty portable and adding qemu buils is simply a matter of installing the right Debian packages and passing the right HOST. |
if this supports a full docker environment could we just run qemu-system and run a whole emulated distribution? :P That said, having a cross compile to arm test is really really good too. |
@gmaxwell I think that's an option, but something I'd like to keep for later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 8bbad7a CI output looks fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 8bbad7a
No description provided.