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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to