[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lightning fast build
From: |
Pankaj Jangid |
Subject: |
Re: Lightning fast build |
Date: |
Sun, 21 Aug 2022 08:17:56 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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.