[Mlir-commits] [mlir] 030c3b2 - [mlir][doc] Fix build after D148389

Mehdi Amini llvmlistbot at llvm.org
Wed Apr 19 21:14:08 PDT 2023


Author: Mehdi Amini
Date: 2023-04-19T22:13:20-06:00
New Revision: 030c3b24a7188c14893a517b25c9655a6ee6b2c9

URL: https://github.com/llvm/llvm-project/commit/030c3b24a7188c14893a517b25c9655a6ee6b2c9
DIFF: https://github.com/llvm/llvm-project/commit/030c3b24a7188c14893a517b25c9655a6ee6b2c9.diff

LOG: [mlir][doc] Fix build after D148389

The doc aren't part of the usual build, so this got unnoticed.

In c184dcb458 a dependency was added from the OpenACC on the LLVM
and Memref dialects, to generate the dialect doc we need to explicitly
ask for the `acc` dialect now.

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt b/mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
index 119885eabfe91..02e903da90d09 100644
--- a/mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
+++ b/mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
@@ -4,7 +4,7 @@ add_public_tablegen_target(acc_common_td)
 
 add_mlir_dialect(OpenACCOps acc)
 
-add_mlir_doc(OpenACCOps OpenACCDialect Dialects/ -gen-dialect-doc)
+add_mlir_doc(OpenACCOps OpenACCDialect Dialects/ -gen-dialect-doc -dialect=acc)
 add_dependencies(OpenACCDialectDocGen acc_common_td)
 
 set(LLVM_TARGET_DEFINITIONS OpenACCOps.td)


        


More information about the Mlir-commits mailing list