[LLVMbugs] [Bug 23777] New: cmake: race condition between ocaml docs & modules
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jun 7 06:51:41 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23777
Bug ID: 23777
Summary: cmake: race condition between ocaml docs & modules
Product: Build scripts
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: mgorny at gentoo.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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.
--
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/20150607/5ff2f5ae/attachment.html>
More information about the llvm-bugs
mailing list