projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix PR13550: add a cmake WITH_POLLY option
[oota-llvm.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 7c315cbe4b0bf4963fca4112219356dc67dc0787..2e758f3fb70b1c6ae3eee03f56b0c068b6fba9ba 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-565,3
+565,9
@@
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
)
endif()
+option(WITH_POLLY "Build LLVM with Polly" ON)
+if(WITH_POLLY)
+ if(NOT EXISTS ${LLVM_MAIN_SRC_DIR}/tools/polly/CMakeLists.txt)
+ set(WITH_POLLY OFF)
+ endif()
+endif(WITH_POLLY)