[PATCH] Review: Add Cmake Options to disable target components (AsmParser, InstPrinter, Disassembler)
aditya_nandakumar at apple.com
Mon Apr 14 11:26:44 PDT 2014
I just modified R600 target as an example for demonstration to go with the main CMAKE changes. The changes required for the other targets would be similar.
On Apr 13, 2014, at 8:08 PM, Tom Stellard <tom at stellard.net> wrote:
> On Sat, Apr 12, 2014 at 02:56:02PM -0700, Aditya Nandakumar wrote:
>> I have attached a patch which accepts CMAKE options to disable target specific components. Also attached is a patch for changes required for the R600 target. This can save megabytes in released binaries
>> Eg usage :
>> cmake -DLLVM_TARGETS_TO_BUILD="R600" -G "Ninja" -DCMAKE_BUILD_TYPE=Release ../llvm/ -DLLVM_TARGETS_DISABLE_INST_PRINTER=“R600”
>> llvm-build and llvm-lit has been updated as well.
>> Additional options to Cmake are
>> -DLLVM_TARGETS_DISABLE_DISASSEMBLER=“…” and
>> I request you to kindly review this change.
> Why does R600 need to be changed and the other targets don't? Is the
> R600 backend doing something wrong?
>> Aditya Nandakumar
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits