[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e

xan at webkit.org xan at webkit.org
Fri Jan 21 14:52:12 UTC 2011


The following commit has been merged in the debian/experimental branch:
commit a0e3f5f2dd7dd9722614ab06b179c4b7a4dfbfc1
Author: xan at webkit.org <xan at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Jan 3 18:26:12 2011 +0000

    2011-01-03  Xan Lopez  <xlopez at igalia.com>
    
            Reviewed by Martin Robinson.
    
            [GTK] Disable superfluous GNU make built-in implicit rules
            https://bugs.webkit.org/show_bug.cgi?id=51826
    
            GNU make ships some superflous built-in rules that we never use
            and that end up adding up to a very significant portion of our
            total Makefile processing time. Disable them completely by
            defining the rule without any recipe, as suggested by the GNU make
            manual (10.5.6, Cancelling Implicit Rules).
    
            In my system the null-build goes from:
    
            make  43.51s user 12.77s system 99% cpu 56.628 total
    
            to:
    
            make  31.45s user 11.59s system 99% cpu 43.227 total
    
            * GNUmakefile.am: disable implicit built-in rules.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74903 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/ChangeLog b/ChangeLog
index dc2af45..b0d9f75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2011-01-03  Xan Lopez  <xlopez at igalia.com>
+
+        Reviewed by Martin Robinson.
+
+        [GTK] Disable superfluous GNU make built-in implicit rules
+        https://bugs.webkit.org/show_bug.cgi?id=51826
+
+        GNU make ships some superflous built-in rules that we never use
+        and that end up adding up to a very significant portion of our
+        total Makefile processing time. Disable them completely by
+        defining the rule without any recipe, as suggested by the GNU make
+        manual (10.5.6, Cancelling Implicit Rules).
+
+        In my system the null-build goes from:
+
+        make  43.51s user 12.77s system 99% cpu 56.628 total
+
+        to:
+
+        make  31.45s user 11.59s system 99% cpu 43.227 total
+
+        * GNUmakefile.am: disable implicit built-in rules.
+
 2011-01-03  Mihai Parparita  <mihaip at chromium.org>
 
         Unreviewed. Update .gitignore with new JavaScriptCore location.
diff --git a/GNUmakefile.am b/GNUmakefile.am
index 17db623..238a1aa 100644
--- a/GNUmakefile.am
+++ b/GNUmakefile.am
@@ -86,6 +86,21 @@ CLEANFILES :=
 DISTCLEANFILES :=
 MAINTAINERCLEANFILES :=
 
+# We do not care at all about this implicit built-in make rules,
+# disable them to save some build time
+%: %.c
+%: %.cpp
+%: %.o
+(%): %
+%.out: %
+%.c: %.w %.ch
+%.tex: %.w %.ch
+%:: %,v
+%:: RCS/%,v
+%:: RCS/%
+%:: s.%
+%:: SCCS/s.%
+
 global_cppflags += \
 	-Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \
 	-Wformat -Wformat-security -Wno-format-y2k -Wundef \

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list