Closed aaupov closed 2 years ago
Thank you so much!
It seems to be qemu is too slow :( After the 6 hours the build seems to be canceled..
@yota9: It was somewhat unexpected, but unfortunately it's too slow. As it's a stopgap solution anyway (post upstreaming we won't use GitHub Actions, will rely on LLVM buildbots instead), I don't think it's worth pursuing difficult solutions (cross-compiling the toolchain). I'll try to increase the timeout to 12h.
How do you think, how hard it will be to create cross-compiled BOLT on x86 and then launch qemu and run tests?
I'll try to increase the timeout to 12h.
Looked like it might take 20h. One thing I saw from the logs is it feels like the build is run on 1 thread (and why x86_64 takes so long also).
@sunnyflunk Thanks for checking. Testing timeout of 20h is impractical.
@yota9 I've looked a bit closer into it and found that a single dockerfile can manage both native and emulation containers, which makes it easier to cross-compile and run in emulation. I've tried but got stuck with cross-compiling clang due to gcc error. I'll continue investigating.
Closed by mistake. Finally got to fixing the cross-compilation steps, AArch64 tests are passing now. Will import and push to the main repo soon.
cde163e
Use docker buildx (qemu user mode) to build and test BOLT on AArch64 platform (#228)