Re: libsanitizer builds slowly

2014-01-27 Thread Markus Trippelsdorf
On 2013.12.17 at 07:43 +0100, Jakub Jelinek wrote: > On Tue, Dec 17, 2013 at 08:45:13AM +0400, Konstantin Serebryany wrote: > > Indeed, the compile time is dominated by asan_interceptors.cc: > > % touch ~/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc > > % date; ninja libclang_rt.asan-x8

Re: libsanitizer builds slowly

2013-12-16 Thread Jakub Jelinek
On Tue, Dec 17, 2013 at 08:45:13AM +0400, Konstantin Serebryany wrote: > Indeed, the compile time is dominated by asan_interceptors.cc: > % touch ~/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc > % date; ninja libclang_rt.asan-x86_64.a libclang_rt.asan-i386.a ; date > Tue Dec 17 08:39:38

Re: libsanitizer builds slowly

2013-12-16 Thread Konstantin Serebryany
FTR, LLVM build system takes 6 seconds to build asan&tsan run-time (well, I have a good machine). % date; ninja libclang_rt.asan-x86_64.a libclang_rt.asan-i386.a libclang_rt.tsan-x86_64.a; date Tue Dec 17 08:34:14 MSK 2013 [126/126] Linking CXX static library lib/clang/3.5/lib/linux/libclang_rt.tsa

Re: libsanitizer builds slowly

2013-12-16 Thread Jakub Jelinek
On Mon, Dec 16, 2013 at 12:04:09PM -0800, Mike Stump wrote: > I've been doing make -j70 and -j70 restrap and libasan seems to build 1 file > at a time. That is certainly not the case, look more carefully and you'll note that it will start compiling tons of sources at once, the problem is just tha