[LLVMdev] Compiler-RT on Buildbots

Justin Bogner mail at justinbogner.com
Wed May 28 09:44:19 PDT 2014


Renato Golin <renato.golin at linaro.org> writes:
> I realised there's a "checkout_compiler_rt" option on ClangBuilder,
> which does checkout the sources, but couldn't build them on ARM. I
> also don't build them during releases (yet) because the configure
> script doesn't prepare the Makefiles for compiler-rt.
>
> A while ago I got it running on ARM with CMake files, but since these
> are buildbots, I'm not sure it'll be of any help. AFACT, all RT
> builders do use CMake, but ClangBuilder only uses it on Windows.
>
> Is it possible to build compiler-rt with autoconf? Do I need some
> special configure flags?

In the autoconf system, I'm pretty sure compiler-rt's build is triggered
by a Makefile in clang, tools/clang/runtime/compiler-rt/Makefile. This
Makefile comments "We currently only try to generate runtime libraries
on x86", so I guess that's the place to start if you want to get it to
build on ARM.

> If not, how hard would it be to add CMake support to ClangBuilder?
> Would that be the best course of action?
>
> cheers,
> --renato



More information about the llvm-dev mailing list