[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
Tue Jun 13 03:37:57 PDT 2017


philip.pfaffe added a comment.

Your script works out of the box for me. Did you configure this in a clean environment?

Your first snippet ends in a `\`, is it missing any options?

> `-DLLVM_DIR=-DLLVM_DIR=${HOME}/build/llvm/release_nopolly_dylib` doesn't work.

There's one -D too many here (typo?), and the package path should be `${HOME}/build/llvm/release_nopolly_dylib/lib/cmake/llvm`.


https://reviews.llvm.org/D33299





More information about the llvm-commits mailing list