mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Reshuffle the generation of the OKURO-NASI entries to speed up build
* leim/Makefile.in (all): Remove the ja-dic target from all -- we don't need this file generated before we generate the .elc files. (generate-ja-dic): Add new target. * lisp/Makefile.in (.PHONY, generate-ja-dic): Add new target. (all): Make all depend on the new generate-ja-dic target so that the OKURO-NASI entries are computed while the .elc files are compiled. On a AMD Ryzen 9 5950X 16-Core Processor this brings compilation time on a "make -j32 bootstrap" down from 1m52s to 1m34s.
This commit is contained in:
parent
3b9bbb24eb
commit
3e312d11ce
2 changed files with 9 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ MISC= \
|
|||
TIT_MISC = ${TIT_GB} ${TIT_BIG5} ${MISC}
|
||||
|
||||
|
||||
all: ${leimdir}/leim-list.el ${leimdir}/ja-dic/ja-dic.el
|
||||
all: ${leimdir}/leim-list.el
|
||||
.PHONY: all
|
||||
|
||||
|
||||
|
|
@ -129,6 +129,8 @@ ${leimdir}/leim-list.el: ${srcdir}/leim-ext.el ${TIT_MISC}
|
|||
|
||||
${leimdir}/ja-dic/ja-dic.el: | $(leimdir)/ja-dic
|
||||
|
||||
.PHONY: generate-ja-dic
|
||||
generate-ja-dic: ${leimdir}/ja-dic/ja-dic.el
|
||||
${leimdir}/ja-dic/ja-dic.el: $(srcdir)/SKK-DIC/SKK-JISYO.L
|
||||
$(AM_V_GEN)$(RUN_EMACS) -batch -l ja-dic-cnv \
|
||||
--eval "(setq max-specpdl-size 5000)" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue