automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Automake-NG] [PATCH 1/2] [ng] perf: disable GNU make builtin rules,


From: Bob Friesenhahn
Subject: Re: [Automake-NG] [PATCH 1/2] [ng] perf: disable GNU make builtin rules, for performance reasons
Date: Wed, 27 Jun 2012 12:30:36 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Wed, 27 Jun 2012, Stefano Lattarini wrote:

* lib/am/header-vars (MAKEFLAGS): Append '--no-builtin-rules'.  This
enhance performance by removing GNU make builtin rules that would be
rather irrelevant (e.g., rules to automatically check out files from
from RCS or SCCS repositories), or overridden by Automake (e.g., rules
to compile C or C++ files).  With this simple tweak, the null-build
time on GNU coreutils on an aging Debian system goes down from ~ 20
seconds to ~ 9 seconds.

This simple approach seems like a huge improvement. The improvement will surely be larger if some/all of the files are accessed over a network.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]