[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 Jun 9 04:40:23 PDT 2017


philip.pfaffe added a comment.

I'm unable to reproduce your issue with DYLIB. Are there any special options you're setting on the Polly side? As far as i can see, the LLVM_*_LLVM_DYLIB options aren't exported. How is Polly picking up libLLVM for you?

Regarding your second issue: llvm-lit is not purposed for distribution. You can't really use it out of the llvm source tree. I'm guessing you've copied that to the install tree at some point manually (because it's what the current Polly setup requires you to do). The good news is, with my `find_program` change above, you can just use any (proper) installation of lit, e.g. through pip. The bad news is, this still doesn't work if the llvm source tree is missing because of a bug in the unittest lit config. I'll follow up on that.


https://reviews.llvm.org/D33299





More information about the llvm-commits mailing list