<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Tom<div><br></div><div>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.</div><div><br></div><div>Aditya<br><div><div>On Apr 13, 2014, at 8:08 PM, Tom Stellard <<a href="mailto:tom@stellard.net">tom@stellard.net</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On Sat, Apr 12, 2014 at 02:56:02PM -0700, Aditya Nandakumar wrote:<br><blockquote type="cite">Hi<br><br>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<br>Eg usage :<br>cmake -DLLVM_TARGETS_TO_BUILD="R600" -G "Ninja" -DCMAKE_BUILD_TYPE=Release ../llvm/ -DLLVM_TARGETS_DISABLE_INST_PRINTER=“R600”<br>llvm-build and llvm-lit has been updated as well.<br><br>Additional options to Cmake are<span class="Apple-converted-space"> </span><br>-DLLVM_TARGETS_DISABLE_DISASSEMBLER=“…” and<span class="Apple-converted-space"> </span><br>-DLLVM_TARGETS_DISABLE_PARSER=“…”<br><br>I request you to kindly review this change.<br><br><br></blockquote><br>Why does R600 need to be changed and the other targets don't?  Is the<br>R600 backend doing something wrong?<br><br>-Tom<br><br><br><blockquote type="cite"><br><br>Thanks<br>Aditya Nandakumar<br></blockquote><br><blockquote type="cite">_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a></blockquote></div></blockquote></div><br></div></body></html>