[LLVMdev] Understanding some of the recent cmake build changes

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Feb 27 06:54:04 PST 2014


On 27 February 2014 09:29, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> Rafael, thanks to explain with clear examples.
>
> Although target_link_libraries(INTERFACE) can cut deps among
> libraries, files in add_executable() will be still serialized.
> For example,
>
> build tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o:
>   CXX_COMPILER /home/chapuni/llvm-project/clang/utils/TableGen/TableGen.cpp
> || lib/libLLVMTableGen.a lib/libLLVMSupport.a
>
> If TableGen.cpp would be made free from *.a, we should introduce
> objlib stuff for add_executable().
> See also my tddeps patch.

Thanks for the example. I reported
http://llvm.org/bugs/show_bug.cgi?id=18990 to track this.

Cheers,
Rafael



More information about the llvm-dev mailing list