[cfe-dev] How to build a clang-tool out of the build tree?

Laurent Thévenoux via cfe-dev cfe-dev at lists.llvm.org
Tue Nov 12 11:17:27 PST 2019


I’m trying to develop a clang-tool, following such kind of tutorial : https://clang.llvm.org/docs/LibASTMatchersTutorial.html <https://clang.llvm.org/docs/LibASTMatchersTutorial.html>.

I’m using GitHub with Travis-CI and I can’t build clang/llvm on Travis because of the free-plan constraints. I’m wondering if it is possible to build such a tool without having to build clang/llvm, i.e., is there a way to simply install clang (from any package manager) with its LibTooling and LibASTMatchers, to which I could link my tool with?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20191112/2d8ceb85/attachment.html>

More information about the cfe-dev mailing list