[llvm-dev] What is the correct way to cross-compile LLVM and run the (in-tree) tests on a target board?

Vasileios Kalintiris via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 12 02:55:18 PST 2016


Ping.

I suppose that this has not been attempted before. Regardless of my use case, I was thinking that it would be a useful feature to have, for quickly testing targets where building Clang/LLVM natively is slow.

- Vasileios

________________________________________
From: Vasileios Kalintiris
Sent: 02 February 2016 16:21
To: llvm-dev at lists.llvm.org
Subject: What is the correct way to cross-compile LLVM and run the (in-tree) tests on a target board?

Hi all,

Is there any way to cross-compile LLVM and run check-all, or just the llvm-lit tests, (after moving the build directory) on the target machine?

As far as I can tell from the CMakefiles, there's support only for cross-compiling LLVM and not for running the tests with the resulting compiler.

Thanks,
Vasileios


More information about the llvm-dev mailing list