Christian S. Perone
2011-Mar-19 14:08 UTC
[LLVMdev] Cyclic dependencies while building llvm shared libraries using CMake
Hello, I'm facing some problems while building LLVM 2.8 shared libraries from source using CMake: cmake -DBUILD_SHARED_LIBS=true .. This is the output error: CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle): "LLVMARMCodeGen" of type SHARED_LIBRARY depends on "LLVMARMAsmPrinter" "LLVMARMAsmPrinter" of type SHARED_LIBRARY depends on "LLVMARMCodeGen" At least one of these targets is not a STATIC_LIBRARY. Cyclic dependencies are allowed only among static libraries. Does anyone else had the same problem ? Thank you ! -- "Forgive, O Lord, my little jokes on Thee, and I'll forgive Thy great big joke on me." http://pyevolve.sourceforge.net/wordpress/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110319/786451e3/attachment.html>
Óscar Fuentes
2011-Mar-19 15:10 UTC
[LLVMdev] Cyclic dependencies while building llvm shared libraries using CMake
"Christian S. Perone" <christian.perone at gmail.com> writes:> Hello, I'm facing some problems while building LLVM 2.8 shared libraries > from source using CMake: > > cmake -DBUILD_SHARED_LIBS=true .. > > This is the output error:[snip]> Does anyone else had the same problem ?Building LLVM as shared libraries is not a widely used configuration and at the time there was an strange flip-flop of dependencies among asmprinters and codegens, so it is no surprise that 2.8 is broken. I've just checked that the 2.9 branch builds fine, though.