diff options
author | Alan Mackenzie <acm@muc.de> | 2022-01-20 18:40:15 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-01-20 18:40:15 +0000 |
commit | 10083e788f7349fa363d100687dc3d94bea88f57 (patch) | |
tree | dfa4273d77c00e8b01f279bb408d05461498f99d /src/verbose.mk.in | |
parent | 808917b3fc380d66e9791dc5769298554f41b3dd (diff) | |
download | emacs-10083e788f7349fa363d100687dc3d94bea88f57.tar.gz |
In early bootstrap, use byte-compiled compiler to native compile first files
This speeds up a make bootstrap by around 15%.
* lisp/Makefile.in (BYTE_COMPILE_FLAGS): set a value specific to compile-first
which doesn't contain the setting of Emacs variable load-prefer-newer.
Add a new make hunk which byte-compiles (rather then native compiles) when the
environment variable ANCIENT is "yes". Set the date of the .elc files built
to 1971-01-01 to cause a second compilation of them later.
* src/Makefile.in: Add an extra invocation of directory lisp's MAKE with
target compile-first and the flag environment variable ANCIENT set to yes.
* src/verbose.mk.in: When ANCIENT is yes, output ELC, not ELC+ELN for
AM_V_ELC.
Diffstat (limited to 'src/verbose.mk.in')
-rw-r--r-- | src/verbose.mk.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/verbose.mk.in b/src/verbose.mk.in index e3f56783031..01076df9463 100644 --- a/src/verbose.mk.in +++ b/src/verbose.mk.in @@ -40,12 +40,17 @@ AM_V_CXX = @$(info $ CXX $@) AM_V_CCLD = @$(info $ CCLD $@) AM_V_CXXLD = @$(info $ CXXLD $@) ifeq ($(HAVE_NATIVE_COMP),yes) -ifeq ($(NATIVE_DISABLED),1) +ifneq ($(NATIVE_DISABLED),1) +ifneq ($(ANCIENT),yes) +AM_V_ELC = @$(info $ ELC+ELN $@) +AM_V_ELN = @$(info $ ELN $@) +else AM_V_ELC = @$(info $ ELC $@) AM_V_ELN = +endif else -AM_V_ELC = @$(info $ ELC+ELN $@) -AM_V_ELN = @$(info $ ELN $@) +AM_V_ELC = @$(info $ ELC $@) +AM_V_ELN = endif else AM_V_ELC = @$(info $ ELC $@) |