An error has occurred when I build libunwind with -DLLVM_BUILD_DOCS=ON.
Details
Details
- Reviewers
jroelofs jyknight compnerd - Group Reviewers
Restricted Project - Commits
- rG77fecc07955f: [NFC][libunbind] Fix Sphinx error during CMake invocation
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Error Message was:
CMake Error at /home/xgupta/dev/llvm-project/llvm/cmake/modules/AddSphinxTarget.cmake:71 (add_dependencies):
Cannot add target-level dependencies to non-existent target "sphinx". The add_dependencies works for top-level logical targets created by the add_executable, add_library, or add_custom_target commands. If you want to add file-level dependencies see the DEPENDS option of the add_custom_target and add_custom_command commands.
Call Stack (most recent call first):
/home/xgupta/dev/llvm-project/libunwind/docs/CMakeLists.txt:5 (add_sphinx_target)
Comment Actions
I suppose that this makes it difficult to generate them when libunwind is built standalone, but, as it is, there are other dependencies involved.