[PATCH] D72232: [mlir] Update mlir/CMakeLists.txt to install *.def files

Kern Handa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 5 13:37:36 PST 2020


kernhanda created this revision.
kernhanda added reviewers: ftynse, schweitz, mehdi_amini, jpienaar.
kernhanda added a project: LLVM.
Herald added subscribers: llvm-commits, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, rriddle, mgorny.
kernhanda added a comment.

I don't have commit access, so someone else will have to submit this.


This is needed to consume mlir after it has been installed of the source tree. Without this, consuming mlir results a build error.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72232

Files:
  mlir/CMakeLists.txt


Index: mlir/CMakeLists.txt
===================================================================
--- mlir/CMakeLists.txt
+++ mlir/CMakeLists.txt
@@ -89,6 +89,7 @@
     DESTINATION include
     COMPONENT mlir-headers
     FILES_MATCHING
+    PATTERN "*.def"
     PATTERN "*.h"
     PATTERN "*.inc"
     PATTERN "*.td"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72232.236262.patch
Type: text/x-patch
Size: 315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200105/4f48b4e0/attachment.bin>


More information about the llvm-commits mailing list