[LLVMdev] QEMU testing for LIT execution tests
Renato Golin
renato.golin at linaro.org
Tue Sep 9 02:00:26 PDT 2014
On 9 September 2014 00:33, jroelofs_ <jroelofs at gmail.com> wrote:
> role hostname triple
> BUILD tux i686-pc-linux-gnu
> HOST bob i386-pc-win32
> TARGET pi armv6-unknown-linux-gnueabi
>
> and that I've built a canadian cross toolchain starting on 'tux', where
> users on machines like 'bob' build software targeting their raspberry pi's.
Ah! Canadian cross... (*strokes moustache*).
> TL;DR: I want to run LIT on one machine, clang on another, and the binaries
> that it produces on yet another machine (or even emulator).
Running QEMU, ssh etc. for lit tests is doable (I've done it before
numerous times), but when I did it, I always wanted to, so the
commands were hard-coded into the tests.
I'm guessing that's what your %host_run and %target_run will do
dynamically. It may be complicated, but doable.
cheers,
--renato
More information about the llvm-dev
mailing list