[Mlir-commits] [mlir] 62dbcc4 - [IRDL] Fix CMake to generate IRDL dialect docs (#66371)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Sep 14 22:57:17 PDT 2023
Author: Kunwar Grover
Date: 2023-09-15T11:27:13+05:30
New Revision: 62dbcc46bfe0407d47e0d01dfd88b0e94bda6571
URL: https://github.com/llvm/llvm-project/commit/62dbcc46bfe0407d47e0d01dfd88b0e94bda6571
DIFF: https://github.com/llvm/llvm-project/commit/62dbcc46bfe0407d47e0d01dfd88b0e94bda6571.diff
LOG: [IRDL] Fix CMake to generate IRDL dialect docs (#66371)
The CMake file for IRDL was not generating documentation on the mlir
website. This patch fixes this.
Added:
Modified:
mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt b/mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt
index 6cacf97b982baa6..e255fc632110f5f 100644
--- a/mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/IRDL/IR/CMakeLists.txt
@@ -1,4 +1,5 @@
add_mlir_dialect(IRDL irdl)
+add_mlir_doc(IRDL IRDL Dialects/ -gen-dialect-doc)
# Add IRDL interfaces
set(LLVM_TARGET_DEFINITIONS IRDLInterfaces.td)
More information about the Mlir-commits
mailing list