GNU bug report logs - #9789
[patch] adding the option --without-compress-el to configure

Previous Next

Package: emacs;

Reported by: OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>

Date: Wed, 19 Oct 2011 00:02:01 UTC

Severity: wishlist

Tags: patch

Merged with 13211, 15297

Found in versions 24.2.90, 24.3.50

Fixed in version 24.4

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

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 9789 in the body.
You can then email your comments to 9789 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#9789; Package emacs. (Wed, 19 Oct 2011 00:02:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 19 Oct 2011 00:02:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [patch] adding the option --without-compress-el to configure
Date: Wed, 19 Oct 2011 09:00:03 +0900
Hi,

On Cygwin with low voltage notebooks, `make install' takes long time
to compress the Lisp source files.

Attached patch adds new configure option `--without-compress-el' which
suppresses automatic compression of the *.el files.


=== modified file 'Makefile.in'
*** Makefile.in	2011-09-26 21:30:18 +0000
--- Makefile.in	2011-10-13 12:14:10 +0000
*************** INSTALL_STRIP =
*** 243,248 ****
--- 243,250 ----
  
  # We use gzip to compress installed .el files.
  GZIP_PROG = @GZIP_PROG@
+ # If non-nil, gzip the installed el files.
+ GZIP_EL = @GZIP_EL@
  # If non-nil, gzip the installed Info and man pages.
  GZIP_INFO = @GZIP_INFO@
  
*************** install-arch-indep: mkdir info install-e
*** 597,603 ****
  	    find . -exec chown $${installuser} {} ';') ; \
  	else true; fi
  	-unset CDPATH; \
! 	if [ -n "${GZIP_PROG}" ]; \
  	then \
  	   echo "Compressing *.el ..." ; \
  	   (cd $(DESTDIR)${lispdir}; for f in `find . -name "*.elc" -print`; do \
--- 599,605 ----
  	    find . -exec chown $${installuser} {} ';') ; \
  	else true; fi
  	-unset CDPATH; \
! 	if [ -n "${GZIP_EL}" ] && [ -n "${GZIP_PROG}" ]; \
  	then \
  	   echo "Compressing *.el ..." ; \
  	   (cd $(DESTDIR)${lispdir}; for f in `find . -name "*.elc" -print`; do \

=== modified file 'configure.in'
*** configure.in	2011-10-18 18:12:53 +0000
--- configure.in	2011-10-18 22:28:21 +0000
*************** else
*** 192,197 ****
--- 192,205 ----
  fi
  AC_SUBST(GZIP_INFO)
  
+ OPTION_DEFAULT_ON([compress-el],[don't compress the installed el files])
+ if test $with_compress_el = yes; then
+    GZIP_EL=yes
+ else
+    GZIP_EL=
+ fi
+ AC_SUBST(GZIP_EL)
+ 
  AC_ARG_WITH([pkg-config-prog],dnl
  [AS_HELP_STRING([--with-pkg-config-prog=PATH],
                    [path to pkg-config for finding GTK and librsvg])])





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9789; Package emacs. (Wed, 19 Oct 2011 03:48:01 GMT) Full text and rfc822 format available.

Message #8 received at 9789 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>
Cc: 9789 <at> debbugs.gnu.org
Subject: Re: bug#9789: [patch] adding the option --without-compress-el to
	configure
Date: Tue, 18 Oct 2011 23:46:22 -0400
> On Cygwin with low voltage notebooks, `make install' takes long time
> to compress the Lisp source files.

What percentage of the total time are we talking about?


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9789; Package emacs. (Mon, 24 Oct 2011 17:33:01 GMT) Full text and rfc822 format available.

Message #11 received at 9789 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 9789 <at> debbugs.gnu.org
Subject: Re: bug#9789: [patch] adding the option --without-compress-el to
	configure
Date: Mon, 24 Oct 2011 10:30:23 -0700
I don't know about low-power laptops, but on my low-power desktop
(Fedora 15, AMD Phenom II X4 910e, 65W 2.6 GHz), "make install"
takes 21 seconds real-time without compression, and
44 seconds with compression.

I install without compression by using the shell command
"make GZIP_PROG= install".  That's pretty simple; do we
need a configure-time option too?

We could speed up "make install" considerably by
parallelizing it better, but that's a different topic.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9789; Package emacs. (Wed, 26 Oct 2011 23:46:01 GMT) Full text and rfc822 format available.

Message #14 received at 9789 <at> debbugs.gnu.org (full text, mbox):

From: OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 9789 <at> debbugs.gnu.org, OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>
Subject: Re: bug#9789: [patch] adding the option --without-compress-el to
	configure
Date: Thu, 27 Oct 2011 08:43:23 +0900
At Tue, 18 Oct 2011 23:46:22 -0400,
Stefan Monnier wrote:
> 
> > On Cygwin with low voltage notebooks, `make install' takes long time
> > to compress the Lisp source files.
> 
> What percentage of the total time are we talking about?

About 40 percent.  Below is the result of `time make install':

--with-compress-el (default)

real    30m45.598s
user    3m51.413s
sys     11m59.457s


--without-compress-el

real    17m5.293s
user    1m59.270s
sys     6m43.657s

--
Tetsurou







Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9789; Package emacs. (Thu, 27 Oct 2011 01:05:01 GMT) Full text and rfc822 format available.

Message #17 received at 9789 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com>
Cc: 9789 <at> debbugs.gnu.org
Subject: Re: bug#9789: [patch] adding the option --without-compress-el to
	configure
Date: Wed, 26 Oct 2011 21:02:39 -0400
>> > On Cygwin with low voltage notebooks, `make install' takes long time
>> > to compress the Lisp source files.
>> What percentage of the total time are we talking about?
> About 40 percent.  Below is the result of `time make install':

> --with-compress-el (default)

> real    30m45.598s
> user    3m51.413s
> sys     11m59.457s


> --without-compress-el

> real    17m5.293s
> user    1m59.270s
> sys     6m43.657s

I would think that the only relevant percentage is of total
compile+install time, since it's rather rare to install repeatedly
without compiling.

Or maybe I don't understand the intended use case (I can't remember the
last time I ran "make install" to tell you the truth).


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9789; Package emacs. (Wed, 11 Apr 2012 11:38:02 GMT) Full text and rfc822 format available.

Message #20 received at 9789 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 9789 <at> debbugs.gnu.org
Subject: Re: bug#9789: [patch] adding the option --without-compress-el to
	configure
Date: Wed, 11 Apr 2012 13:36:24 +0200
Paul Eggert <eggert <at> cs.ucla.edu> writes:

> I install without compression by using the shell command
> "make GZIP_PROG= install".  That's pretty simple; do we
> need a configure-time option too?

That does seem like a better solution than adding yet another config
option, so I'm closing this report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug closed, send any further explanations to 9789 <at> debbugs.gnu.org and OKAZAKI Tetsurou <okazaki.tetsurou <at> gmail.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 11 Apr 2012 11:38:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9789; Package emacs. (Wed, 11 Apr 2012 12:13:01 GMT) Full text and rfc822 format available.

Message #25 received at 9789 <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 9789 <at> debbugs.gnu.org
Subject: Re: bug#9789: [patch] adding the option --without-compress-el to
	configure
Date: Wed, 11 Apr 2012 14:11:36 +0200
Lars Magne Ingebrigtsen skrev 2012-04-11 13:36:
> Paul Eggert<eggert <at> cs.ucla.edu>  writes:
>
>> I install without compression by using the shell command
>> "make GZIP_PROG= install".  That's pretty simple; do we
>> need a configure-time option too?
>
> That does seem like a better solution than adding yet another config
> option, so I'm closing this report.
>

But on the other hand you have to specify the configure option once, but 
the GZIP_PROG= many times.  Maybe this is only a problem for developers.

	Jan D.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 May 2012 11:24:05 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 17 Dec 2012 18:45:01 GMT) Full text and rfc822 format available.

Forcibly Merged 9789 13211. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 17 Dec 2012 18:45:01 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 17 Dec 2012 18:45:01 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. (Tue, 15 Jan 2013 12:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 08 Sep 2013 23:54:02 GMT) Full text and rfc822 format available.

Forcibly Merged 9789 13211 15297. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 08 Sep 2013 23:54:02 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 24.4. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 09 Sep 2013 00:00: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, 07 Oct 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.