[PATCH] D29931: [Cmake] Install the isl headers into the install tree

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 20 09:08:58 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL295671: [Cmake] Install the isl headers into the install tree. (authored by Meinersbur).

Changed prior to commit:
  https://reviews.llvm.org/D29931?vs=88507&id=89129#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29931

Files:
  polly/trunk/lib/External/CMakeLists.txt


Index: polly/trunk/lib/External/CMakeLists.txt
===================================================================
--- polly/trunk/lib/External/CMakeLists.txt
+++ polly/trunk/lib/External/CMakeLists.txt
@@ -262,6 +262,20 @@
   ${ISL_FILES}
 )
 
+
+# TODO: optionally use system isl instead
+if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
+  install(DIRECTORY
+    ${ISL_SOURCE_DIR}/include/
+    ${ISL_BINARY_DIR}/include/
+    DESTINATION include/polly
+    FILES_MATCHING
+    PATTERN "*.h"
+    PATTERN "CMakeFiles" EXCLUDE
+    PATTERN ".svn" EXCLUDE
+    )
+endif()
+
 add_executable(polly-isl-test
   isl/isl_test.c
 )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29931.89129.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170220/2bea4660/attachment.bin>


More information about the llvm-commits mailing list