all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pankaj Jangid <pankaj@codeisgreat.org>
To: emacs-devel@gnu.org
Subject: Re: Lightning fast build
Date: Sun, 21 Aug 2022 08:17:56 +0530	[thread overview]
Message-ID: <878rni5n37.fsf@codeisgreat.org> (raw)
In-Reply-To: bdd3d77d-1f17-eb2e-6286-248cc41bfda8@gmail.com

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

>
> I just noticed that building Emacs master from scratch, i.e. what I do
> from time to time
>
>     git clean -xdf \
>         && ./autogen.sh \
>         && ./configure --with-native-compilation \
>         && bear -- make \
>         && make install
>
> went down from around 8 minutes to 4:30, and everything seems to still
> be working normally.  (This is macos 12.5.1, M1 chip.)
>
> Kudos to whoever made that happen!

Yes. Now it is,

real	1m22.072s
user	8m44.482s
sys	0m48.667s

with,

    git clean -fdx \
    && make -j`nproc` \
    	 configure="--prefix=$HOME/.local --with-pgtk CFLAGS='-O0 -g3'"

It was more than 2.5m earlier.





  parent reply	other threads:[~2022-08-21  2:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19 12:44 Lightning fast build Gerd Möllmann
2022-08-19 12:59 ` Alan Mackenzie
2022-08-21  2:47 ` Pankaj Jangid [this message]
2022-08-21  9:36 ` João Távora
2022-08-21 10:24   ` Gerd Möllmann
2022-10-11  4:09   ` Emacs + bear + compile_commands.json + clangd Matt Armstrong
2022-10-11  5:39     ` Gerd Möllmann
2022-10-11 17:37       ` Matt Armstrong
2022-10-12  4:32         ` Gerd Möllmann

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=878rni5n37.fsf@codeisgreat.org \
    --to=pankaj@codeisgreat.org \
    --cc=emacs-devel@gnu.org \
    /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.