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

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 04:24:22 PST 2017


philip.pfaffe updated this revision to Diff 88507.
philip.pfaffe added a comment.

Missed another (generated) header.


https://reviews.llvm.org/D29931

Files:
  lib/External/CMakeLists.txt


Index: lib/External/CMakeLists.txt
===================================================================
--- lib/External/CMakeLists.txt
+++ 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.88507.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170215/28bf0e53/attachment.bin>


More information about the llvm-commits mailing list