[cfe-dev] Building clang outside of LLVM (with CMake)
gvenn.cfe.dev at gmail.com
Wed Feb 2 07:04:55 PST 2011
Yeah, I'm just thrown off by the original email to this thread where the phrase "llvm as
an external library" was used in the context of building clang. Also although its volitility is
small, there is a direct dependency of tblgen on clang given the clang specific tblgen
backends such as ClangASTNodesEmitter. Although these backends obviously do not
use clang libs, and their semantics are really concerned with expression tree like
concepts (in my view), this dependency could be fixed and then exploited if tblgen
could load backend plugins. There would still be build order issues for clang, but
the code would be self contained except for LLVM libs. However I'm off topic, so I'll
shut up now. :-)
On Feb 2, 2011, at 8:49, arrowdodger wrote:
> On Wed, Feb 2, 2011 at 4:43 PM, Garrison Venn <gvenn.cfe.dev at gmail.com> wrote:
> Don't you also need tblgen given that it is used to generate code/classes for clang?
> If correct the problem here being that tblgen is a non-library found under utils vs lib.
> Well, if someone already installed llvm it's very likely to have tblgen too.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev