[PATCH] D33299: [Polly][CMake] Use the CMake Package instead of llvm-config in out-of-tree builds

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 06:17:12 PDT 2017


philip.pfaffe updated this revision to Diff 100394.
philip.pfaffe added a comment.

Fixed the lit tests CMakeLists.

I've implemented option 1) i mentioned above. This now comes with the gotcha I mentioned, that even though you specify a tool it might may use a different one instead, if it also exists in the other tools' paths. Because that's most troublesome for opt, I've put the opt path first to give it precedence.


https://reviews.llvm.org/D33299

Files:
  CMakeLists.txt
  cmake/CMakeLists.txt
  lib/CMakeLists.txt
  test/CMakeLists.txt
  test/lit.cfg
  test/lit.site.cfg.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33299.100394.patch
Type: text/x-patch
Size: 22164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170526/87b55a6a/attachment.bin>


More information about the llvm-commits mailing list