From: Mehdi Amini Date: Thu, 20 Apr 2023 04:12:46 +0000 (-0600) Subject: [mlir][doc] Fix build after D148389 X-Git-Tag: upstream/17.0.6~10976 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=030c3b24a7188c14893a517b25c9655a6ee6b2c9;p=platform%2Fupstream%2Fllvm.git [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. --- diff --git a/mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt b/mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt index 119885eabfe9..02e903da90d0 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)