[Mlir-commits] [mlir] 6e8db66 - Fix MLIR doc build

Mehdi Amini llvmlistbot at llvm.org
Mon Aug 21 11:19:15 PDT 2023


Author: Mehdi Amini
Date: 2023-08-21T11:18:54-07:00
New Revision: 6e8db6679326dd1f99e6ec92ccdd7e4e2fab38f4

URL: https://github.com/llvm/llvm-project/commit/6e8db6679326dd1f99e6ec92ccdd7e4e2fab38f4
DIFF: https://github.com/llvm/llvm-project/commit/6e8db6679326dd1f99e6ec92ccdd7e4e2fab38f4.diff

LOG: Fix MLIR doc build

The complex dialect now includes the arithmetic one, and TableGen
complains that the dialect must be explicitly specified to generate
the doc.

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Complex/IR/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Complex/IR/CMakeLists.txt b/mlir/include/mlir/Dialect/Complex/IR/CMakeLists.txt
index b9f43c099d0eb2..f41888d01a2fdd 100644
--- a/mlir/include/mlir/Dialect/Complex/IR/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/Complex/IR/CMakeLists.txt
@@ -1,5 +1,5 @@
 add_mlir_dialect(ComplexOps complex)
-add_mlir_doc(ComplexOps ComplexOps Dialects/ -gen-dialect-doc)
+add_mlir_doc(ComplexOps ComplexOps Dialects/ -gen-dialect-doc  -dialect=complex)
 
 set(LLVM_TARGET_DEFINITIONS ComplexAttributes.td)
 mlir_tablegen(ComplexAttributes.h.inc -gen-attrdef-decls)


        


More information about the Mlir-commits mailing list