[Mlir-commits] [mlir] 037bae8 - Fix Interface doc generation after recent change to add_mlir_doc() API

Mehdi Amini llvmlistbot at llvm.org
Wed Apr 14 21:33:43 PDT 2021


Author: Mehdi Amini
Date: 2021-04-15T04:14:33Z
New Revision: 037bae8928f2eac16583ef0b19217eadc57ea37b

URL: https://github.com/llvm/llvm-project/commit/037bae8928f2eac16583ef0b19217eadc57ea37b
DIFF: https://github.com/llvm/llvm-project/commit/037bae8928f2eac16583ef0b19217eadc57ea37b.diff

LOG: Fix Interface doc generation after recent change to add_mlir_doc() API

This is basically fixing the build of `mlir-doc`

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 91e1e0f587424..bc7c4501ee308 100644
--- a/mlir/include/mlir/Interfaces/CMakeLists.txt
+++ b/mlir/include/mlir/Interfaces/CMakeLists.txt
@@ -20,9 +20,9 @@ add_public_tablegen_target(MLIRDataLayoutInterfacesIncGen)
 add_dependencies(mlir-generic-headers MLIRDataLayoutInterfacesIncGen)
 
 add_mlir_doc(DataLayoutInterfaces
-  -gen-attr-interface-docs
   DataLayoutAttrInterface
-  Interfaces/)
+  Interfaces/
+  -gen-attr-interface-docs)
 
 add_mlir_doc(DataLayoutInterfaces
   -gen-type-interface-docs


        


More information about the Mlir-commits mailing list