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
-- John T.
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.
Does anyone know exactly which file I deleted that fixed this?
-- John T.
No, but I've seen this before and know "make clean" fixes it.
make clean doesn't fix the cmake build tree.
It does fix the non-cmake trees however.
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.
Misha