[llvm-dev] Build clang front end only for few languages ( say C and C++ )
KārlisS via llvm-dev
llvm-dev at lists.llvm.org
Tue Sep 26 15:16:25 PDT 2017
Are you sure you ar not mixing things? Clang is the frontend for C
family languages (and name of compiler using it) . There are LLVM based
compilers for other languages but those are different projects and not
part of clang or llvm repositories. According to
clang contains small amount of code for invoking GCC based fortran and
java compilers and clangFormat but I doubt those add a significant size
increase compared to the rest of clang.
On 2017.09.22. 20:32, Nitish Srivastava via llvm-dev wrote:
> 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 ),
> 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.
> Is there a CMake option that needs to be set to do that??
> Thanks a lot!
> Best Regards,
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev