[PATCH][llvm-config] Print modules needed to build LLVM component

Alex Denisov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 03:16:22 PST 2016


CC’ing Chandler Carruth due to CODE_OWNERS.txt

--
AlexDenisov
Software Engineer, http://lowlevelbits.org

> On 15 Jan 2016, at 06:39, Alex Denisov <1101.debian at gmail.com> wrote:
> 
> This small patch prints module names for component’ dependencies.
> It is very useful to have if you need to build just a subset of LLVM, e.g.:
> 
> $ make `llvm-config --modules mcjit`
> 
> Without this addition one can do:
> 
> $ make `llvm-config --libs mcjit | sed "s/-l//g"  | xargs make`
> 
> Which is less convenient.
> 
> P.S. Patch doesn’t contain any tests since I didn’t find tests for llvm-config. Is there any reason they are missing?
> 
> <llvm_config_modules.patch>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm_config_modules.patch
Type: application/octet-stream
Size: 2424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160118/589ab7bf/attachment.obj>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160118/589ab7bf/attachment.sig>


More information about the llvm-commits mailing list