Index: build/sanitize-mac-build-log.sed |
diff --git a/build/sanitize-mac-build-log.sed b/build/sanitize-mac-build-log.sed |
new file mode 100755 |
index 0000000000000000000000000000000000000000..a486d91a2a17dfe0fa8f3301dd3a33c484f01a3f |
--- /dev/null |
+++ b/build/sanitize-mac-build-log.sed |
@@ -0,0 +1,16 @@ |
+#!/bin/sed -f |
+ |
+# Use this sed script to reduce a Mac build log into something readable. |
+ |
+# Drop uninformative lines. |
+/^distcc/d |
+/^Check dependencies/d |
+/^ setenv /d |
+/^ cd /d |
+ |
+# Xcode prints a short "compiling foobar.o" line followed by the lengthy |
+# full command line. These deletions drop the command line. |
+\|^ /Developer/usr/bin/distcc |d |
+\|^ /Developer/usr/bin/g++|d |
Mark Mentovai
2010/12/10 22:36:18
I think Xcode always invokes gcc (with -x) when di
|
+ |
+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
|