[LLVMdev] Cross Compiling LLVM's test-suite

Renato Golin renato.golin at linaro.org
Thu Apr 2 09:12:22 PDT 2015


On 2 April 2015 at 15:51, Romaric Jodin <rjodin at kalray.eu> wrote:
>    - Is it possible to compile the tools of the test-suite and all the tests with a different compiler?

It is. Check CC / ORIGINAL_CC / TARGET_CC in the Makefiles.

>    - Is it possible not to run the tests directly on the machine but on a simulator?

Yes, see RunSafely.sh. It has options for remote testing, or QEMU user
emulation.

I have not tried that myself, but I know it has been done in the past
and it should still be possible.

cheers,
--renato



More information about the llvm-dev mailing list