[llvm-branch-commits] [polly] r195348 - cmake: Add option POLLY_USE_CLOOG

Tobias Grosser tobias at grosser.es
Thu Nov 21 03:51:46 PST 2013


Author: grosser
Date: Thu Nov 21 05:51:46 2013
New Revision: 195348

URL: http://llvm.org/viewvc/llvm-project?rev=195348&view=rev
Log:
cmake: Add option POLLY_USE_CLOOG

This allows to build Polly without CLooG.

Modified:
    polly/branches/release_34/CMakeLists.txt

Modified: polly/branches/release_34/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_34/CMakeLists.txt?rev=195348&r1=195347&r2=195348&view=diff
==============================================================================
--- polly/branches/release_34/CMakeLists.txt (original)
+++ polly/branches/release_34/CMakeLists.txt Thu Nov 21 05:51:46 2013
@@ -81,9 +81,14 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PAT
 
 FIND_PACKAGE(Isl REQUIRED)
 FIND_PACKAGE(Gmp REQUIRED)
-FIND_PACKAGE(Cloog)
 FIND_PACKAGE(Pluto)
 
+option(POLLY_USE_CLOOG "Build Polly with Cloog support" ON)
+if (POLLY_USE_CLOOG)
+  # Build Cloog support in Polly (default is for cloog-isl).
+  FIND_PACKAGE(Cloog)
+endif(POLLY_USE_CLOOG)
+
 option(POLLY_ENABLE_GPGPU_CODEGEN "Enable GPGPU code generation feature" OFF)
 if (POLLY_ENABLE_GPGPU_CODEGEN)
   # Do not require CUDA, as GPU code generation test cases can be run without





More information about the llvm-branch-commits mailing list