|
From: Julian S. <js...@ac...> - 2011-07-13 10:35:42
|
> I don't know about anybody else, but I often miss warnings when building > valgrind unless I look very hard because there is so much noise in the > form of compile and link commands that fill about ten lines or something... Yeah, it's completely impossible to spot them. I never even try, though: I have "mq" aliased to "make --quiet", and that makes it trivial, as per the below. I also use the following shell script to do from-scratch builds, which has this all wired in: $ cat ~/Bin/rebuild_inst #!/bin/sh make -j4 --quiet -k distclean rm -rf Inst ./autogen.sh ./configure --prefix=`pwd`/Inst make -j 4 --quiet all make -j 4 --quiet install > I wonder if we should think about using the "silent rule" support in > automake 1.11 to get something more like the linux kernel build output > which reduces all the noise to let you see the warnings. > > It's not perfect because of our use of recursive make but I think we can > certainly make things a lot better. Well, I think the above is a zero-effort solution; certainly I've been using it for years. (The credit for the "mq" thing goes to Nick.) J example mq output, following "mq clean": sewardj@g5:~/VgTRUNK/trunk$ mq -j2 Making all in include Making all in VEX Making all in coregrind vgdb.c:322: warning: ‘ptrace_write_memory’ defined but not used Making all in . Making all in memcheck Making all in . Making all in tests Making all in . Making all in ppc32 Making all in ppc64 Making all in linux Making all in perf Making all in cachegrind Making all in . Making all in tests Making all in . Making all in callgrind Making all in . Making all in tests Making all in . Making all in massif Making all in . Making all in tests Making all in perf Making all in lackey Making all in . Making all in tests Making all in none Making all in . Making all in tests Making all in . Making all in ppc32 Making all in ppc64 Making all in linux Making all in helgrind Making all in . Making all in tests Making all in drd Making all in . Making all in tests Making all in exp-sgcheck Making all in . Making all in tests Making all in exp-bbv Making all in . Making all in tests Making all in . Making all in ppc32-linux Making all in exp-dhat Making all in . Making all in tests Making all in tests Making all in perf Making all in gdbserver_tests Making all in auxprogs Making all in mpi Making all in docs sewardj@g5:~/VgTRUNK/trunk$ |