This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [1/2] RFC: remove doc/configure
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 19 Nov 2010 20:53:59 -0800
- Subject: Re: [1/2] RFC: remove doc/configure
- References: <m3pqu19gvc.fsf@fleche.redhat.com>
> b/gdb/ChangeLog:
> 2010-11-19 Tom Tromey <tromey@redhat.com>
>
> * Makefile.in (SUBDIRS): Add doc.
> * configure: Rebuild.
> * configure.ac: Don't configure in doc. Create doc/Makefile.
>
> b/gdb/doc/ChangeLog:
> 2010-11-19 Tom Tromey <tromey@redhat.com>
>
> * Makefile.in (Makefile): Run ../config.status.
> (distclean): Update.
> * configure: Remove.
> * configure.ac: Remove.
I like it :).
configure is often seen as a bottleneck in term of the amount of time
taken to perform builds, especially on Windows where fork/exec just takes
forever. But it's also becoming true on Unix machines where large number
of cores allow all the compilations to be parallelized, so the time to
configure becomes a bigger chunck of the wall-clock time. That could
be a possible argument in favor of fragmenting the configury. But in
this case, this is hardly applicable because:
. The gdb/doc/configure script is really minimal
. All the checks it makes have already been done by gdb/configure.
--
Joel