Re: [PATCH] emacs: Avoid rebuilding .eldeps even when there's nothing to do

Subject: Re: [PATCH] emacs: Avoid rebuilding .eldeps even when there's nothing to do

Date: Fri, 21 Feb 2014 21:21:36 -0400

To: Austin Clements, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Austin Clements <amdragon@MIT.EDU> writes:

> Previously, we updated .eldeps only if the file contents actually
> needed to change.  This was done to avoid unnecessary make restarts
> (if the .eldeps rule changes the mtime of .eldeps, make has to restart
> to collect the new dependencies).  However, this meant that, after a
> modification to any .el file that did not change dependencies, .eldeps
> would always be out of date, so every make invocation would run the
> .eldeps rule, which is both expensive because it starts up Emacs and
> noisy.  This was true even when there was nothing to do.  E.g.,
>

pushed.

d

Thread: