<div dir="ltr">I don't think llvm-config is the right tool here.<div><br></div><div>llvm-config is primarily for inspecting the installation of LLVM, not the internals of the build system structure. Those are essentially implementation details.</div><div><br></div><div>I'm also not sure how compelling the motivation for this really is. Incremental rebuild usually makes this kind of thing straight forward?</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 18, 2016 at 3:16 AM Alex Denisov via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">CC’ing Chandler Carruth due to CODE_OWNERS.txt<br>
<br>
--<br>
AlexDenisov<br>
Software Engineer, <a href="http://lowlevelbits.org" rel="noreferrer" target="_blank">http://lowlevelbits.org</a><br>
<br>
> On 15 Jan 2016, at 06:39, Alex Denisov <<a href="mailto:1101.debian@gmail.com" target="_blank">1101.debian@gmail.com</a>> wrote:<br>
><br>
> This small patch prints module names for component’ dependencies.<br>
> It is very useful to have if you need to build just a subset of LLVM, e.g.:<br>
><br>
> $ make `llvm-config --modules mcjit`<br>
><br>
> Without this addition one can do:<br>
><br>
> $ make `llvm-config --libs mcjit | sed "s/-l//g"  | xargs make`<br>
><br>
> Which is less convenient.<br>
><br>
> P.S. Patch doesn’t contain any tests since I didn’t find tests for llvm-config. Is there any reason they are missing?<br>
><br>
> <llvm_config_modules.patch><br>
><br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>