From 8a26b487f280e01009346863c04f2577b1fa850f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 9 Jun 2012 14:53:31 +0300 Subject: [PATCH] Fix parallel bootstrap build in lisp/ on MS-Windows. Fix parallel builds: make sure loaddefs.el is not being written while Lisp files are compiled. lisp/makefile.w32-in (compile): Don't depend on 'mh-autoloads'. (compile-CMD, compile-SH): Depend on 'autoloads'. (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'. --- lisp/ChangeLog | 6 ++++++ lisp/makefile.w32-in | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7a1533a4009..b858b10c3e1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -5,6 +5,12 @@ 2012-06-09 Eli Zaretskii + Fix parallel builds: make sure loaddefs.el is not being written + while Lisp files are compiled. + (compile): Don't depend on 'mh-autoloads'. + (compile-CMD, compile-SH): Depend on 'autoloads'. + (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'. + * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649) 2012-06-09 Chong Yidong diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index cdfdf383de8..6f4838ee3e1 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in @@ -316,16 +316,16 @@ TAGS-LISP-CMD: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsf # compiled find the right files. # Need separate version for sh and native cmd.exe -compile: $(lisp)/subdirs.el mh-autoloads compile-$(SHELLTYPE) doit +compile: $(lisp)/subdirs.el compile-$(SHELLTYPE) doit -compile-CMD: +compile-CMD: autoloads # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g for %%f in ($(COMPILE_FIRST)) do \ $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done %%f for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \ $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done %%f/%%g -compile-SH: +compile-SH: autoloads # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done for el in $(COMPILE_FIRST); do \ echo Compiling $$el; \ @@ -501,7 +501,7 @@ bootstrap-clean-SH: # When done, remove bootstrap-emacs from ../bin, so that # it will not be mistaken for an installed binary. -bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps +bootstrap: update-subdirs compile finder-data custom-deps - $(DEL) "$(EMACS)" # -- 2.11.4.GIT