[PATCH] D23833: [Polly] Introduce unittests.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 07:53:10 PDT 2016


Meinersbur marked 3 inline comments as done.
Meinersbur added a comment.

Out-of-tree unit tests are not easy as it requires gtest from the LLVM source tree. Polly up to now only requires the LLVM_INSTALL_ROOT. llvm-config can be queried for the source dir, but then we need to compile gtest ourselves.

Clang has a different approach: It requires the source tree and broadly imports all cmake files such that it can use the LLVM functions to build the files.


https://reviews.llvm.org/D23833





More information about the llvm-commits mailing list