Created attachment 23800 [details] Workaround patch (disables pulling in empty/non-functional docs directories) Trying to build LLVM 11.0-rc1 with both flang and docs enabled causes the build to fail with the error at the end of this message. I'm attaching a patch that makes it compile by disabling building the nonexistant docs - but obviously actually having docs there would be a nicer fix. FAILED: tools/flang/docs/CMakeFiles/docs-flang-html cd /home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/build/tools/flang/docs && /usr/bin/sphinx-build -b html -d /home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/build/tools/flang/docs/_doctrees-flang-html -q -t builder-html /home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/flang/docs /home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/build/tools/flang/docs/html Application error: config directory doesn't contain a conf.py file (/home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/flang/docs) [16/721] Generating man Sphinx documentation for flang into "/home/bero/temp/abf/llvm/BUILD/llvm-project-release-11.x/build/tools/flang/docs/man" FAILED: tools/flang/docs/CMakeFiles/docs-flang-man
Bernhard Rosenkraenzer, thanks for finding and providing a fix for that. There is a fix available at https://reviews.llvm.org/D85470 Do you have any extra set of flags to cmake, apart from the ones mentioned in the commit summary?
Can you please verify if the issue still exists? I have pushed a fix for the issue. https://github.com/llvm/llvm-project/commit/2fc86ccdd25309b9f77739aaed4a7b06f1c6f111
(In reply to sameeran joshi from comment #2) > Can you please verify if the issue still exists? > I have pushed a fix for the issue. > > https://github.com/llvm/llvm-project/commit/ > 2fc86ccdd25309b9f77739aaed4a7b06f1c6f111 That fixed it for me. Pushed to 11.x as b0b18ec9e8a7e7c7ca6e01d1a6f636622fa59941.