Treat polly as "in tree" if LLVM_EXTERNAL_POLLY_SOURCE_DIR is provided, since in this case polly is also built as if it is in tree.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Did you successfully build Polly out-of-tree with this. with an without LLVM_POLLY_LINK_INTO_TOOLS? I think I remember there were other places where it assumed that polly is in ${LLVM_ROOT}/tools/polly.
Comment Actions
The only "tools/polly" I saw is :
./CMakeLists.txt:if (EXISTS ${LLVM_MAIN_SRC_DIR}/tools/polly/CMakeLists.txt)
I am setting LLVM_POLLY_LINK_INTO_TOOLS and running check-all
Comment Actions
I tried the combination of {LLVM_POLLY_LINK_INTO_TOOLS On/Of} x {cmake from scratch/cmake on existing cmakecach}, and it passed check-all (which includes check-polly).