[llvm] r283608 - [cmake] Treat polly as "in tree" if LLVM_EXTERNAL_POLLY_SOURCE_DIR is provided
Hongbin Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 14:32:48 PDT 2016
Author: ether
Date: Fri Oct 7 16:32:47 2016
New Revision: 283608
URL: http://llvm.org/viewvc/llvm-project?rev=283608&view=rev
Log:
[cmake] Treat polly as "in tree" if LLVM_EXTERNAL_POLLY_SOURCE_DIR is provided
Differential Revision: https://reviews.llvm.org/D25354
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=283608&r1=283607&r2=283608&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Fri Oct 7 16:32:47 2016
@@ -395,6 +395,8 @@ option(LLVM_POLLY_BUILD "Build LLVM with
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()
More information about the llvm-commits
mailing list