[LLVMdev] compiler-rt tests in cmake?

Greg Fitzgerald garious at gmail.com
Wed May 22 12:38:43 PDT 2013


Anybody working on porting the compiler-rt tests to cmake?

The online documentation shows a preference for cmake and ctest, but the
CMakeLists file has the comment "Currently the tests have not been ported
to CMake, so disable this directory."  How should we be running the test
suite?

http://compiler-rt.llvm.org/

My immediate issue is that "make check-all" fails in the cmake build when
compiler-rt is outside the projects directory.  When I point to compiler-rt
with LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR, lit still looks for
lit.common.cfg within "projects/compiler-rt" instead of the external
directory.  I use similar CMake variables for Clang and Polly and have had
no trouble.  Any recommendations for how to fix?

Thanks,
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130522/13c06b5b/attachment.html>


More information about the llvm-dev mailing list