all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
To: eric@siege-engine.com
Cc: Chong Yidong <cyd@stupidchicken.com>, emacs-devel@gnu.org
Subject: Re: EDE regenerates autotools files to often
Date: Wed, 28 Oct 2009 18:24:52 +0100	[thread overview]
Message-ID: <m2y6mvzb17.fsf@sha-bang.de> (raw)
In-Reply-To: <1256746989.5333.234.camel@projectile.siege-engine.com> (Eric M. Ludlam's message of "Wed, 28 Oct 2009 12:23:09 -0400")

"Eric M. Ludlam" <eric@siege-engine.com> wrote:
> On Wed, 2009-10-28 at 15:22 +0100, Sascha Wilde wrote:
>> It seems that EDE automake projects re-invoke autoreconf on every build
>> command (ede-compile-target, ede-compile-project, ede-make-dist).
>> This takes a serious amount of time.
[...]
>   Your previous bugs indicated that we needed to call autoreconf all the
> time. 

In this case my bug report was unclear.  Calling autoreconf all the time
is definitely to much.  ;-)

> A side effect was that the auto scale-back of calling the
> miscellaneous autoconf features was removed.
>
> I would guess that there is some simple algorithm that could be used,
> but I don't know what it might be as I haven't looked into it much.

In most cases autoreconf needs only to be called once for a project: to
create all the infrastructure scripts used by the auto tools.  After
that changes to configure.ac or Makefile.am trigger automatic
regeneration (via the "missing" script) of all depending files during an
regular build.  For example:
  % touch configure.ac
  % make
  cd . && /bin/sh /tmp/EDE-Automake-Test-1.0/missing --run aclocal-1.10 
  cd . && /bin/sh /tmp/EDE-Automake-Test-1.0/missing --run automake-1.10 --gnu 
  cd . && /bin/sh /tmp/EDE-Automake-Test-1.0/missing --run autoconf
  /bin/sh ./config.status --recheck
  running CONFIG_SHELL=/bin/sh /bin/sh ./configure  --prefix /tmp/test --no-create --no-recursion
[...]

so the easiest strategy might be to only run autoreconf when the basic
infrastructure (missing, ltmain.sh, etc -- I'm no autotools expert, so I
don't really know what would be an good list of files to check for) is
missing.

Additionally maybe interactive call of ede-proj-regenerate should force
autoreconf, too.

cheers
ssacha
-- 
Sascha Wilde
Life's too short to read boring signatures




      reply	other threads:[~2009-10-28 17:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 14:22 EDE regenerates autotools files to often Sascha Wilde
2009-10-28 16:23 ` Eric M. Ludlam
2009-10-28 17:24   ` Sascha Wilde [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y6mvzb17.fsf@sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=eric@siege-engine.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.