How to build & test all supported targets for compiler-rt?

Hi!

while committing my first change to compiler-rt, I broke the build on an ARM build bot [0] and and MSCV build bot.
My change was subsequently reverted and now I’m trying to fix it.

From what I learned, I can do something like cmake -DLLVM_ENABLE_RUNTIMES="compiler-rt" -DLLVM_RUNTIME_TARGETS="i686-linux-gnu;x86_64-linux-gnu;aarch64-linux-gnu;powerpc-linux-gnu;aarch64-linux-android;armv7-linux-android;armeb-linux-gnueabihf;armv8l-linux-gnueabihf"
to build compiler-rt for multiple targets. Which targets should I use to cover all build bots?
(I couldn’t find this in the developer policy.)

In particular, I couldn’t find out which exact target is used on the ARM build bot [0] from looking at that build bots output.

Do you have any guidance on how you usually address/prevent build bot failures?

Thanks!

[0] Buildbot (llvm.org)

1 Like