[PATCH] D75759: [docs][FileCheck] add link to VerifyDiagnosticConsumer docs

Aaron Ballman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 7 13:00:02 PST 2020


aaron.ballman added a comment.

In D75759#1910427 <https://reviews.llvm.org/D75759#1910427>, @nickdesaulniers wrote:

> Hmm, so I've created a new document, `clang/docs/Testing.rst` but:
>
>   $ cd llvm/build
>   $ cmake <usual stuff> -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_HTML=true
>   $ ninja docs-clang-html
>   [1/2] Generating html Sphinx documentation for .../llvm-project/llvm/build/tools/clang/docs/html"
>   FAILED: tools/clang/docs/CMakeFiles/docs-clang-html 
>   cd /android0/llvm-project/llvm/build/tools/clang/docs && /usr/bin/sphinx-build -b html -d /android0/llvm-project/llvm/build/tools/clang/docs/_doctrees-clang-html -q -W /android0/llvm-project/clang/docs /android0/llvm-project/llvm/build/tools/clang/docs/html
>  
>   Warning, treated as error:
>   /android0/llvm-project/clang/docs/ClangCommandLineReference.rst:22:Duplicate explicit target name: "cmdoption-clang--prefix".
>   ninja: build stopped: subcommand failed.
>


Yeah, we continually run into this "duplicate explicit target name" in the command line reference. You should pass `-DSPHINX_WARNINGS_AS_ERRORS=OFF` when configuring cmake, unfortunately.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75759/new/

https://reviews.llvm.org/D75759





More information about the llvm-commits mailing list