<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - flang fails to build in 11.0-rc1 if documentation is enabled"
href="https://bugs.llvm.org/show_bug.cgi?id=46931">46931</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>flang fails to build in 11.0-rc1 if documentation is enabled
</td>
</tr>
<tr>
<th>Product</th>
<td>flang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Build System
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bero@lindev.ch
</td>
</tr>
<tr>
<th>CC</th>
<td>David.Truby@arm.com, jperier@nvidia.com, llvm-bugs@lists.llvm.org, sscalpone@nvidia.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=23800" name="attach_23800" title="Workaround patch (disables pulling in empty/non-functional docs directories)">attachment 23800</a> <a href="attachment.cgi?id=23800&action=edit" title="Workaround patch (disables pulling in empty/non-functional docs directories)">[details]</a></span>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>