[PATCH] D25354: Treat polly as "in tree" if LLVM_EXTERNAL_POLLY_SOURCE_DIR is provided
Hongbin Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 6 18:34:26 PDT 2016
etherzhhb created this revision.
etherzhhb added reviewers: grosser, jdoerfert, Meinersbur.
etherzhhb added a subscriber: Polly.
etherzhhb set the repository for this revision to rL LLVM.
Herald added subscribers: mgorny, beanz.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D25354
Files:
CMakeLists.txt
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -395,6 +395,8 @@
if (EXISTS ${LLVM_MAIN_SRC_DIR}/tools/polly/CMakeLists.txt)
set(POLLY_IN_TREE TRUE)
+elseif(LLVM_EXTERNAL_POLLY_SOURCE_DIR)
+ set(POLLY_IN_TREE TRUE)
else()
set(POLLY_IN_TREE FALSE)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25354.73875.patch
Type: text/x-patch
Size: 350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161007/2d352bb4/attachment.bin>
More information about the llvm-commits
mailing list