<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - cmake: race condition between ocaml docs & modules" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23777&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=OgONo6LR7YLDy0FeZWljz-11PPTZ7C2_1DGq3mjgn5c&s=VAhfy0kfCor-u5A6uSYUUtLcz8ElU1TrDGAhnJi0fg8&e=">23777</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>cmake: race condition between ocaml docs & modules
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mgorny@gentoo.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Long story short:
Building OCaml documentation for llvm
cd
/var/tmp/portage/sys-devel/llvm-9999-r1/work/llvm-9999-abi_x86_64.amd64/bindings/ocaml/llvm
&& /usr/bin/ocamlfind ocamldoc -I
/var/tmp/portage/sys-devel/llvm-9999-r1/work/llvm-9999-abi_x86_64.amd64/bindings/ocaml/llvm
-I
/var/tmp/portage/sys-devel/llvm-9999-r1/work/llvm-9999-abi_x86_64.amd64/./lib64/ocaml/
-dump
/var/tmp/portage/sys-devel/llvm-9999-r1/work/llvm-9999-abi_x86_64.amd64/bindings/ocaml/llvm/llvm.odoc
/var/tmp/portage/sys-devel/llvm-9999-r1/work/llvm-9999-abi_x86_64.amd64/bindings/ocaml/llvm/llvm.mli
/var/tmp/portage/sys-devel/llvm-9999-r1/work/llvm-9999-abi_x86_64.amd64/bindings/ocaml/llvm/llvm.ml
File
"/var/tmp/portage/sys-devel/llvm-9999-r1/work/llvm-9999-abi_x86_64.amd64/bindings/ocaml/llvm/llvm.ml",
line 1:
Error: Could not find the .cmi file for interface
/var/tmp/portage/sys-devel/llvm-9999-r1/work/llvm-9999-abi_x86_64.amd64/bindings/ocaml/llvm/llvm.mli.
--
And this is because make -jN attempts to build OCaml docs before the OCaml
modules themselves. If I manually 'make' in OCaml bindings directory first,
docs build fine.</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>