<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">- llvm-dev, + cfe-dev (moving off llvm-dev)<div class=""><br class=""></div><div class="">Hi Nitish,</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 22, 2017, at 10:32 AM, Nitish Srivastava via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/9795124cd6c017dace7bd08188512b385b28e2f1.png?u=407906"><div class="">Hi,<br class=""><br class=""> I am trying to build clang, however the build size is quite large. As clang supports non-C family languages as well ( e.g. Java, Fortran ),</div></div></div></blockquote><div><br class=""></div><div>Clang does not accept Java or Fortran code. It links llvm, which has some language-specific support for calling conventions, but excising this support might not save you much in terms of binary size.</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""> is there a way to turn that off during the build. I just want to have support for C and C++ and don't care about other languages.<br class=""><br class="">Is there a CMake option that needs to be set to do that??<br class=""></div></div></div></blockquote><div><br class=""></div><div>What are you measuring exactly? Is it the size of the build directory, the size of the clang binary itself, or something else?</div><div><br class=""></div><div>How small does clang need to be for your purposes?</div><div><br class=""></div><div>vedant</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class="">Thanks a lot!<br class=""><br class="">Best Regards, <br class=""><br class="">Nitish<br class=""><br class=""><br class="">‌</div></div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></div></body></html>