GNU bug report logs -
#8031
feature request: slow "make clean"
Previous Next
Reported by: Ralf Hemmecke <hemmecke <at> gmail.com>
Date: Sun, 13 Feb 2011 19:46:01 UTC
Severity: minor
Tags: patch
Merged with 10697
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8031 in the body.
You can then email your comments to 8031 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-automake <at> gnu.org
:
bug#8031
; Package
automake
.
(Sun, 13 Feb 2011 19:46:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ralf Hemmecke <hemmecke <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Sun, 13 Feb 2011 19:46:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This is a copy of
http://lists.gnu.org/archive/html/automake/2011-02/msg00017.html
It's not really a bug, but rather a feature request.
Ralf
-------- Original Message --------
Subject: slow "make clean"
Date: Sat, 12 Feb 2011 23:46:55 +0100
From: Ralf Hemmecke <hemmecke <at> gmail.com>
To: automake <at> gnu.org
I've a project that must use subdir-objects, because of filename clashes
in subdirectories (non-recursive build).
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
I just have
lib_LTLIBRARIES = libfoo.la
check_PROGRAMS = ${TESTSUITE_TESTS} ${TESTSUITE_XFAIL_TESTS}
but quite a lot of files.
The generated Makefile contains a target "mostlyclean-compile" which has
about 1500 lines that look like
-rm -f src/foo/foo.$(OBJEXT)
-rm -f src/foo/foo.lo
...
Of course it takes ages to say "make clean". About 10 sec.
Wouldn't it be faster if there were just one call to rm or at least
block the number of arguments to rm so that the maximal argument lenght
is not exceeded?
Any idea how I can speed that up?
Ralf
Information forwarded
to
bug-automake <at> gnu.org
:
bug#8031
; Package
automake
.
(Mon, 25 Jun 2012 09:54:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 8031 <at> debbugs.gnu.org (full text, mbox):
forcemerge 10697 8031
close 8031
thanks
On 02/13/2011 08:52 PM, Ralf Hemmecke wrote:
> This is a copy of
> http://lists.gnu.org/archive/html/automake/2011-02/msg00017.html
> It's not really a bug, but rather a feature request.
>
> Ralf
>
> -------- Original Message --------
> Subject: slow "make clean"
> Date: Sat, 12 Feb 2011 23:46:55 +0100
> From: Ralf Hemmecke <hemmecke <at> gmail.com>
> To: automake <at> gnu.org
>
> I've a project that must use subdir-objects, because of filename clashes in subdirectories (non-recursive build).
>
> AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
>
> I just have
>
> lib_LTLIBRARIES = libfoo.la
> check_PROGRAMS = ${TESTSUITE_TESTS} ${TESTSUITE_XFAIL_TESTS}
>
> but quite a lot of files.
>
> The generated Makefile contains a target "mostlyclean-compile" which has
> about 1500 lines that look like
>
> -rm -f src/foo/foo.$(OBJEXT)
> -rm -f src/foo/foo.lo
> ...
>
> Of course it takes ages to say "make clean". About 10 sec.
>
> Wouldn't it be faster if there were just one call to rm or at least
> block the number of arguments to rm so that the maximal argument lenght
> is not exceeded?
>
> Any idea how I can speed that up?
>
> Ralf
>
This issue has been solved addressing this later bug report:
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10697>
I'm thus merging the present bug#8031 with that, and closing it.
Regards,
Stefano
Forcibly Merged 8031 10697.
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 25 Jun 2012 09:54:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 23 Jul 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 333 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.