summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/Cloog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/CodeGen/Cloog.cpp')
-rw-r--r--polly/lib/CodeGen/Cloog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/polly/lib/CodeGen/Cloog.cpp b/polly/lib/CodeGen/Cloog.cpp
index f3fe68c52b0..e4cd24bcb06 100644
--- a/polly/lib/CodeGen/Cloog.cpp
+++ b/polly/lib/CodeGen/Cloog.cpp
@@ -23,6 +23,7 @@
//===----------------------------------------------------------------------===//
#include "polly/Cloog.h"
+#ifdef CLOOG_FOUND
#include "polly/LinkAllPasses.h"
#include "polly/ScopInfo.h"
@@ -333,3 +334,5 @@ INITIALIZE_PASS_END(CloogInfo, "polly-cloog",
Pass *polly::createCloogInfoPass() {
return new CloogInfo();
}
+
+#endif // CLOOG_FOUND
OpenPOWER on IntegriCloud