unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55969: Feature request: configure option to build Emacs without any documentation
       [not found]                                       ` <83h74ntsix.fsf@gnu.org>
@ 2022-06-14 13:08                                         ` Gregor Zattler
  2022-06-14 13:36                                           ` Eli Zaretskii
  2022-06-14 17:52                                           ` Glenn Morris
  0 siblings, 2 replies; 7+ messages in thread
From: Gregor Zattler @ 2022-06-14 13:08 UTC (permalink / raw)
  To: 55969

Dear emacs developers, Eli,
* Eli Zaretskii <eliz@gnu.org> [2022-06-14; 14:04]:
> An optimized build of Emacs produces org.texi in about 30 to 40
> seconds here, and that is also quite annoying for a production build.
> Lars recently made significant changes in our build scripts and
> support code because he didn't like much shorter delays.  We build
> Emacs many times a week, so these delays add up.

the possibility to configure an Emacs in order
to build without any documentation , as perhaps in:

~/src/emacs $ ./configure --without-any-documentation [...]

would be especially helpful for Emacs devs and for everybody
when doing git bisect with unoptimized builds.

Thanks for Emacs, Gregor





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#55969: Feature request: configure option to build Emacs without any documentation
  2022-06-14 13:08                                         ` bug#55969: Feature request: configure option to build Emacs without any documentation Gregor Zattler
@ 2022-06-14 13:36                                           ` Eli Zaretskii
  2022-06-14 17:52                                           ` Glenn Morris
  1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2022-06-14 13:36 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: 55969

> From: Gregor Zattler <telegraph@gmx.net>
> Date: Tue, 14 Jun 2022 15:08:21 +0200
> 
> Dear emacs developers, Eli,
> * Eli Zaretskii <eliz@gnu.org> [2022-06-14; 14:04]:
> > An optimized build of Emacs produces org.texi in about 30 to 40
> > seconds here, and that is also quite annoying for a production build.
> > Lars recently made significant changes in our build scripts and
> > support code because he didn't like much shorter delays.  We build
> > Emacs many times a week, so these delays add up.
> 
> the possibility to configure an Emacs in order
> to build without any documentation , as perhaps in:
> 
> ~/src/emacs $ ./configure --without-any-documentation [...]
> 
> would be especially helpful for Emacs devs and for everybody
> when doing git bisect with unoptimized builds.

Thanks, but I don't see how can I do partial builds: one can never
know to which part of Emacs will bug reports or submitted patches be
related.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#55969: Feature request: configure option to build Emacs without any documentation
  2022-06-14 13:08                                         ` bug#55969: Feature request: configure option to build Emacs without any documentation Gregor Zattler
  2022-06-14 13:36                                           ` Eli Zaretskii
@ 2022-06-14 17:52                                           ` Glenn Morris
  2022-06-15 12:34                                             ` Lars Ingebrigtsen
  1 sibling, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2022-06-14 17:52 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: 55969


You don't need a configure option; just use

make -C src emacs

(used to work; haven't checked recently)





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#55969: Feature request: configure option to build Emacs without any documentation
  2022-06-14 17:52                                           ` Glenn Morris
@ 2022-06-15 12:34                                             ` Lars Ingebrigtsen
  2022-06-15 12:50                                               ` Robert Pluim
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-15 12:34 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Gregor Zattler, 55969

Glenn Morris <rgm@gnu.org> writes:

> You don't need a configure option; just use
>
> make -C src emacs
>
> (used to work; haven't checked recently)

Yes, I don't think a configuration option here will give us
something substantially easier to work with during bisection.

However, it might be nice to have a target in GNUmakefile for doing
bisection that would allow you to say

git checkout ...; git clean -dfx; make without-manuals

that would run autogen/configure as normal, but then "make -C src emacs"
instead of "make all"?

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#55969: Feature request: configure option to build Emacs without any documentation
  2022-06-15 12:34                                             ` Lars Ingebrigtsen
@ 2022-06-15 12:50                                               ` Robert Pluim
  2022-06-15 16:39                                                 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Pluim @ 2022-06-15 12:50 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Glenn Morris, Gregor Zattler, 55969

>>>>> On Wed, 15 Jun 2022 14:34:38 +0200, Lars Ingebrigtsen <larsi@gnus.org> said:

    Lars> Glenn Morris <rgm@gnu.org> writes:
    >> You don't need a configure option; just use
    >> 
    >> make -C src emacs
    >> 
    >> (used to work; haven't checked recently)

    Lars> Yes, I don't think a configuration option here will give us
    Lars> something substantially easier to work with during bisection.

    Lars> However, it might be nice to have a target in GNUmakefile for doing
    Lars> bisection that would allow you to say

    Lars> git checkout ...; git clean -dfx; make without-manuals

    Lars> that would run autogen/configure as normal, but then "make -C src emacs"
    Lars> instead of "make all"?

If this is for the purposes of historical bisection, then you'd need a
time machine to install those changes. 'git bisect' can take a script
to determine good/bad, so you'd just stick the appropriate commands in
there.

Robert
-- 





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#55969: Feature request: configure option to build Emacs without any documentation
  2022-06-15 12:50                                               ` Robert Pluim
@ 2022-06-15 16:39                                                 ` Lars Ingebrigtsen
  2022-06-15 17:23                                                   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-15 16:39 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Glenn Morris, Gregor Zattler, 55969

Robert Pluim <rpluim@gmail.com> writes:

> If this is for the purposes of historical bisection, then you'd need a
> time machine to install those changes.

Well, in the future you could bisect back to today using this new
mechanism.

> 'git bisect' can take a script to determine good/bad, so you'd just
> stick the appropriate commands in there.

Sure, but there are other usages possible than a formal "git bisect".

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#55969: Feature request: configure option to build Emacs without any documentation
  2022-06-15 16:39                                                 ` Lars Ingebrigtsen
@ 2022-06-15 17:23                                                   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-15 17:23 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Glenn Morris, Gregor Zattler, 55969

Just to see what the impact might be -- with the following (on my AMD
build machine), "make -j32 bootstrap" takes 1:32 and "make -j32
without-manuals" takes...  1:30.

I.e., it's not really noticeable.  (On machines with slower/fewer cores
it would be more seconds, but the same percentage, I guess.)

So I don't think this is worth doing -- I don't think many people
would actually use this, especially since you can just say
"make -C src lisp" yourself -- so I'm closing this bug report.

diff --git a/GNUmakefile b/GNUmakefile
index 8eb61dc0ad..9d68d08369 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -117,7 +117,11 @@ Makefile:
 bootstrap: Makefile
 	$(MAKE) -f Makefile all
 
-.PHONY: bootstrap default $(ORDINARY_GOALS)
+without-manuals: Makefile
+	$(MAKE) -C src all
+	$(MAKE) -C lisp all
+
+.PHONY: bootstrap default $(ORDINARY_GOALS) without-manuals
 
 endif
 endif

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






^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-06-15 17:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <YpuV9DKe9kzNt5np@ACM>
     [not found] ` <87o7z61v59.fsf@gmail.com>
     [not found]   ` <Yp3l+rjJ0mAIcVZJ@ACM>
     [not found]     ` <87bkv527p5.fsf@gmail.com>
     [not found]       ` <835yld93w7.fsf@gnu.org>
     [not found]         ` <877d5t0yrn.fsf@gmail.com>
     [not found]           ` <Yp92eI2pEuc/gQu4@ACM>
     [not found]             ` <jwvtu8wbbjb.fsf-monnier+emacs@gnu.org>
     [not found]               ` <87r140yuof.fsf@gmail.com>
     [not found]                 ` <E1nzQh5-0001OB-22@fencepost.gnu.org>
     [not found]                   ` <875yl9e7zm.fsf@gmail.com>
     [not found]                     ` <83czfh12kp.fsf@gnu.org>
     [not found]                       ` <87pmjhghu2.fsf@localhost>
     [not found]                         ` <835yl910gp.fsf@gnu.org>
     [not found]                           ` <87wndndbhq.fsf@gmail.com>
     [not found]                             ` <83bkuzznws.fsf@gnu.org>
     [not found]                               ` <877d5mqmkh.fsf@localhost>
     [not found]                                 ` <E1o0sgC-0000jg-U3@fencepost.gnu.org>
     [not found]                                   ` <83k09kt1uk.fsf@gnu.org>
     [not found]                                     ` <87v8t4klox.fsf@localhost>
     [not found]                                       ` <83h74ntsix.fsf@gnu.org>
2022-06-14 13:08                                         ` bug#55969: Feature request: configure option to build Emacs without any documentation Gregor Zattler
2022-06-14 13:36                                           ` Eli Zaretskii
2022-06-14 17:52                                           ` Glenn Morris
2022-06-15 12:34                                             ` Lars Ingebrigtsen
2022-06-15 12:50                                               ` Robert Pluim
2022-06-15 16:39                                                 ` Lars Ingebrigtsen
2022-06-15 17:23                                                   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).