[llvm-bugs] [Bug 46931] New: flang fails to build in 11.0-rc1 if documentation is enabled

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 31 05:18:24 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46931

            Bug ID: 46931
           Summary: flang fails to build in 11.0-rc1 if documentation is
                    enabled
           Product: flang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Build System
          Assignee: unassignedbugs at nondot.org
          Reporter: bero at lindev.ch
                CC: David.Truby at arm.com, jperier at nvidia.com,
                    llvm-bugs at lists.llvm.org, sscalpone at nvidia.com

Created attachment 23800
  --> https://bugs.llvm.org/attachment.cgi?id=23800&action=edit
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200731/73afaf6c/attachment.html>


More information about the llvm-bugs mailing list