diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-03-06 00:00:58 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-03-06 00:00:58 +0000 |
commit | 89327174213f8320f0ca6bdc25776147147ffd6c (patch) | |
tree | 627a487a201f8d3f9723e0d65d36c8e6a9f32f95 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 4f42ac84003f99578fae4deab12b8517e1fd0e19 (diff) | |
download | llvm-89327174213f8320f0ca6bdc25776147147ffd6c.zip llvm-89327174213f8320f0ca6bdc25776147147ffd6c.tar.gz llvm-89327174213f8320f0ca6bdc25776147147ffd6c.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions