[LLVMdev] SVN Head Error Building on Mac OS X

Misha Brukman brukman at gmail.com
Wed Apr 15 07:01:43 PDT 2009

On Tue, Apr 14, 2009 at 11:53 AM, John Criswell <criswell at cs.uiuc.edu>wrote:

> John Criswell wrote:
> > Dear All,
> >
> > Has anyone else noticed the following problem building LLVM on Mac OS X:
> >
> > find-cycles.pl: Circular dependency between *.a files:
> > find-cycles.pl:   libLLVMAsmPrinter.a libLLVMCodeGen.a
> libLLVMSelectionDAG.a
> > llvm[1]: Building llvm-config script.
> > cat: /Users/criswell/box/x86/llvm22/tools/llvm-config/FinalLibDeps.txt:
> > No such file or directory
> >
> I managed to fix this by deleting nearly all of the files in my object
> tree, reconfiguring, and rebuilding.

FYI, to speed up the "make clean; make" cycle, consider using ccache:
http://ccache.samba.org/ .

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090415/7bae9cc2/attachment.html>

More information about the llvm-dev mailing list