llvm-project/llvm/bindings/ocaml
Bob Wilson 8932717421 Fix a parallel make race condition by swapping the order of -I directories.
The .cmi files are generated in $(ObjDir) and then copied to $(OcamlDir).
The ocamldep output references the .cmi files in $(ObjDir), so make kicks
off a dependent compile as soon as the local copy is generated.  If the
copy to $(OcamlDir) is not complete at that point, the compiler will read
the partially copied file and complain about a "Corrupted compiled
interface".  Searching $(ObjDir) first avoids this.

llvm-svn: 66217
2009-03-06 00:00:58 +00:00
..
analysis Expose Function::viewCFG and Function::viewCFGOnly to bindings. 2008-03-31 16:22:09 +00:00
bitreader This patch cleans up the OCaml bindings so that they format nicely with 2008-03-09 07:17:38 +00:00
bitwriter This patch cleans up the OCaml bindings so that they format nicely with 2008-03-09 07:17:38 +00:00
executionengine Fix the LLVMCreateJITCompiler C binding. 2008-08-08 20:49:28 +00:00
llvm PR2731: C and Ocaml bindings for setTailCall and isTailCall. 2008-08-30 16:34:54 +00:00
target Rename getABITypeSize to getTypePaddedSize, as 2009-01-12 20:38:59 +00:00
transforms C and Objective Caml bindings for mem2reg and reg2mem. 2008-03-20 17:16:03 +00:00
Makefile C and Objective Caml bindings for the TargetData class. 2008-03-16 20:08:03 +00:00
Makefile.ocaml Fix a parallel make race condition by swapping the order of -I directories. 2009-03-06 00:00:58 +00:00