<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Ben,<div class=""><br class=""></div><div class="">this broke the build: <a href="http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/5302/consoleFull#-143024398849ba4694-19c4-4d7e-bec5-911270d8a58c" class="">http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/5302/consoleFull#-143024398849ba4694-19c4-4d7e-bec5-911270d8a58c</a></div><div class=""><br class=""></div><div class="">Could you please take a look?</div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><br class=""></div><div class="">—Juergen</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 9, 2015, at 11:23 AM, Ben Langmuir <<a href="mailto:blangmuir@apple.com" class="">blangmuir@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Author: benlangmuir<br class="">Date: Mon Feb  9 13:23:08 2015<br class="">New Revision: 228592<br class=""><br class="">URL: <a href="http://llvm.org/viewvc/llvm-project?rev=228592&view=rev" class="">http://llvm.org/viewvc/llvm-project?rev=228592&view=rev</a><br class="">Log:<br class="">Add the hostname to the module hash to avoid sharing between hosts<br class=""><br class="">Sharing between hosts will cause problems for the LockFileManager, which<br class="">can timeout waiting for a process that has already died.<br class=""><br class="">Modified:<br class="">    cfe/trunk/lib/Frontend/CompilerInvocation.cpp<br class=""><br class="">Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=228592&r1=228591&r2=228592&view=diff" class="">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=228592&r1=228591&r2=228592&view=diff</a><br class="">==============================================================================<br class="">--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)<br class="">+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Mon Feb  9 13:23:08 2015<br class="">@@ -2021,6 +2021,16 @@ std::string CompilerInvocation::getModul<br class="">     }<br class="">   }<br class=""><br class="">+#if LLVM_ON_UNIX<br class="">+  // The LockFileManager cannot tell when processes from another host are<br class="">+  // running, so mangle the hostname in to the module hash to separate them.<br class="">+  char hostname[256];<br class="">+  hostname[255] = 0;<br class="">+  hostname[0] = 0;<br class="">+  gethostname(hostname, 255);<br class="">+  code = hash_combine(code, StringRef(hostname));<br class="">+#endif<br class="">+<br class="">   return llvm::APInt(64, code).toString(36, /*Signed=*/false);<br class=""> }<br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">cfe-commits mailing list<br class=""><a href="mailto:cfe-commits@cs.uiuc.edu" class="">cfe-commits@cs.uiuc.edu</a><br class="">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits<br class=""></div></blockquote></div><br class=""></div></body></html>