[LLVMdev] Unit tests - ARM

Jim Grosbach grosbach at apple.com
Thu Nov 15 10:44:45 PST 2012


I use variants on the following command:

make -k TEST=simple ARCH=ARM TARGET_FLAGS="-arch armv7 -isysroot path-to-sdk -ccc-install-dir path-to-binutils" USE_REFERENCE_OUTPUT=1 REMOTE_HOST=localhost REMOTE_USER=root REMOTE_CLIENT=ssh REMOTE_PORT=10022 DISABLE_JIT=1 DISABLE_CBE=1 SMALL_PROBLEM_SIZE=1 TARGET_CC=path-to-clang TARGET_CXX=path-to-clang++ report

That assumes key-based ssh authentication (so you don't get password prompted for every execution) and that the test suite directory is is mounted on the target at the same pathname as it is on the host. Personally, I just NFS mount my home directory on the ARM target.

-Jim

On Nov 15, 2012, at 9:45 AM, Tim Northover <t.p.northover at gmail.com> wrote:

> Hi Raul,
> 
> I've successfully run them over ssh using LNT without too much
> difficulty. There is documentation on getting started with the LNT
> system here: http://llvm.org/docs/lnt/quickstart.html.
> 
> It doesn't specifically mention remote execution, but if you give the
> lnt command a "--help" option then there are a few reasonably
> self-explanatory options described (--remote, --remote-host,
> --remote-port, --remote-dir).
> 
> I think the main problem I had was that LNT couldn't cope with Clang's
> version string when it had been compiled with CMake so I just ran a
> quick autotools build.
> 
> Tim.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list