[Mlir-commits] [mlir] 0308515 - [mlir] fix cmake for generating data layout documentation
Alex Zinenko
llvmlistbot at llvm.org
Mon Mar 15 03:02:10 PDT 2021
Author: Alex Zinenko
Date: 2021-03-15T11:02:03+01:00
New Revision: 03085156ec63cdb2f68508cfd878b9b661bb7fc3
URL: https://github.com/llvm/llvm-project/commit/03085156ec63cdb2f68508cfd878b9b661bb7fc3
DIFF: https://github.com/llvm/llvm-project/commit/03085156ec63cdb2f68508cfd878b9b661bb7fc3.diff
LOG: [mlir] fix cmake for generating data layout documentation
Added:
Modified:
mlir/include/mlir/Interfaces/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/include/mlir/Interfaces/CMakeLists.txt b/mlir/include/mlir/Interfaces/CMakeLists.txt
index 5d81a6c757ed2..91e1e0f587424 100644
--- a/mlir/include/mlir/Interfaces/CMakeLists.txt
+++ b/mlir/include/mlir/Interfaces/CMakeLists.txt
@@ -12,13 +12,24 @@ add_mlir_interface(ViewLikeInterface)
set(LLVM_TARGET_DEFINITIONS DataLayoutInterfaces.td)
mlir_tablegen(DataLayoutAttrInterface.h.inc -gen-attr-interface-decls)
mlir_tablegen(DataLayoutAttrInterface.cpp.inc -gen-attr-interface-defs)
-mlir_tablegen(DataLayoutAttrInterface.md -gen-attr-interface-docs)
mlir_tablegen(DataLayoutOpInterface.h.inc -gen-op-interface-decls)
mlir_tablegen(DataLayoutOpInterface.cpp.inc -gen-op-interface-defs)
-mlir_tablegen(DataLayoutOpInterface.md -gen-op-interface-docs)
mlir_tablegen(DataLayoutTypeInterface.h.inc -gen-type-interface-decls)
mlir_tablegen(DataLayoutTypeInterface.cpp.inc -gen-type-interface-defs)
-mlir_tablegen(DataLayoutTypeInterface.md -gen-type-interface-docs)
add_public_tablegen_target(MLIRDataLayoutInterfacesIncGen)
add_dependencies(mlir-generic-headers MLIRDataLayoutInterfacesIncGen)
+add_mlir_doc(DataLayoutInterfaces
+ -gen-attr-interface-docs
+ DataLayoutAttrInterface
+ Interfaces/)
+
+add_mlir_doc(DataLayoutInterfaces
+ -gen-type-interface-docs
+ DataLayoutTypeInterface
+ Interfaces/)
+
+add_mlir_doc(DataLayoutInterfaces
+ -gen-op-interface-docs
+ DataLayoutOpInterface
+ Interfaces/)
More information about the Mlir-commits
mailing list