OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/sed -f | |
2 | |
3 # Use this sed script to reduce a Mac build log into something readable. | |
4 | |
5 # Drop uninformative lines. | |
6 /^distcc/d | |
7 /^Check dependencies/d | |
8 /^ setenv /d | |
9 /^ cd /d | |
10 | |
11 # Xcode prints a short "compiling foobar.o" line followed by the lengthy | |
12 # full command line. These deletions drop the command line. | |
13 \|^ /Developer/usr/bin/distcc |d | |
14 \|^ /Developer/usr/bin/g++|d | |
Mark Mentovai
2010/12/10 22:36:18
I think Xcode always invokes gcc (with -x) when di
| |
15 | |
16 s|^Distributed-CompileC \(.*\) normal i386 c++ com.apple.compilers.gcc.4_2|CC \1 | | |
Mark Mentovai
2010/12/10 22:36:18
Match without Distributed- too, for the same reaso
| |
OLD | NEW |