On Tue, Apr 14, 2009 at 11:53 AM, John Criswell <span dir="ltr"><<a href="mailto:criswell@cs.uiuc.edu">criswell@cs.uiuc.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">John Criswell wrote:<br>
> Dear All,<br>
><br>
> Has anyone else noticed the following problem building LLVM on Mac OS X:<br>
><br>
> find-cycles.pl: Circular dependency between *.a files:<br>
> find-cycles.pl:   libLLVMAsmPrinter.a libLLVMCodeGen.a libLLVMSelectionDAG.a<br>
> llvm[1]: Building llvm-config script.<br>
> cat: /Users/criswell/box/x86/llvm22/tools/llvm-config/FinalLibDeps.txt:<br>
> No such file or directory<br>
><br>
</div>I managed to fix this by deleting nearly all of the files in my object<br>
tree, reconfiguring, and rebuilding.<br>
</blockquote><div><br>FYI, to speed up the "make clean; make" cycle, consider using ccache: <a href="http://ccache.samba.org/">http://ccache.samba.org/</a> .<br><br>It will also speed up your development should you choose to have 2+ LLVM trees in which you might be working on separate changes (to keep one working while you implement the other one) -- it will let you share the common object files between the trees so you don't have to build everything all the time, just what changed.<br>
<br>Misha<br></div></div><br>