[LLVMdev] No Cycles In LLVM Library Dependencies

Reid Spencer rspencer at reidspencer.com
Thu Aug 3 14:54:04 PDT 2006


All,

Thanks to Chris' recent changes, PR845 is now resolved and there are
currently no cycles in LLVM's library dependencies. This means you can
link all LLVM software visiting each archive only once. To get the
correct order for linking LLVM libraries, use the command:

llvm-config --libs

>From here on out, cycles in the library dependencies are not allowed. If
you create one, your build will fail when building llvm-config. The
"find-cycles.pl" script will fail and cause make to stop.  If this
happens to you, inspect the changes you just made (especially cross
module calls). You will need to eliminate the cycle before committing
your change.

Thanks for your cooperation.

Reid.




More information about the llvm-dev mailing list