[flang-commits] [flang] 16580d7 - Remove -gen-pass-doc from Flang CMake configuration: the documentation generation is broken

Mehdi Amini via flang-commits flang-commits at lists.llvm.org
Thu Oct 8 23:18:57 PDT 2020


Author: Mehdi Amini
Date: 2020-10-09T06:17:53Z
New Revision: 16580d791f3bf4fba8164054a04e4f85a1bd299b

URL: https://github.com/llvm/llvm-project/commit/16580d791f3bf4fba8164054a04e4f85a1bd299b
DIFF: https://github.com/llvm/llvm-project/commit/16580d791f3bf4fba8164054a04e4f85a1bd299b.diff

LOG: Remove -gen-pass-doc from Flang CMake configuration: the documentation generation is broken

`ninja mlir-doc` fails when Flang is configured with this.

Added: 
    

Modified: 
    flang/include/flang/Optimizer/CodeGen/CMakeLists.txt
    flang/include/flang/Optimizer/Transforms/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/include/flang/Optimizer/CodeGen/CMakeLists.txt b/flang/include/flang/Optimizer/CodeGen/CMakeLists.txt
index 9acf6f89e12f..8cbd772b30ab 100644
--- a/flang/include/flang/Optimizer/CodeGen/CMakeLists.txt
+++ b/flang/include/flang/Optimizer/CodeGen/CMakeLists.txt
@@ -3,4 +3,3 @@ set(LLVM_TARGET_DEFINITIONS CGPasses.td)
 mlir_tablegen(CGPasses.h.inc -gen-pass-decls -name OptCodeGen)
 add_public_tablegen_target(FIROptCodeGenPassIncGen)
 
-add_mlir_doc(Passes -gen-pass-doc OptimizerCodeGenPasses ./)

diff  --git a/flang/include/flang/Optimizer/Transforms/CMakeLists.txt b/flang/include/flang/Optimizer/Transforms/CMakeLists.txt
index b928991e0a37..37096bff40b6 100644
--- a/flang/include/flang/Optimizer/Transforms/CMakeLists.txt
+++ b/flang/include/flang/Optimizer/Transforms/CMakeLists.txt
@@ -3,4 +3,3 @@ set(LLVM_TARGET_DEFINITIONS Passes.td)
 mlir_tablegen(Passes.h.inc -gen-pass-decls -name OptTransform)
 add_public_tablegen_target(FIROptTransformsPassIncGen)
 
-add_mlir_doc(Passes -gen-pass-doc OptimizerTransformPasses ./)


        


More information about the flang-commits mailing list