aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2012-06-09 14:53:31 +0300
committerEli Zaretskii2012-06-09 14:53:31 +0300
commit8a26b487f280e01009346863c04f2577b1fa850f (patch)
tree3c1d1abd573f74f8b7199628dbedd1fba2c49408
parentff88beb8555488522be667a68d2bad106cf8f43c (diff)
downloademacs-8a26b487f280e01009346863c04f2577b1fa850f.tar.gz
emacs-8a26b487f280e01009346863c04f2577b1fa850f.zip
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'.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/makefile.w32-in8
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 @@
5 5
62012-06-09 Eli Zaretskii <eliz@gnu.org> 62012-06-09 Eli Zaretskii <eliz@gnu.org>
7 7
8 Fix parallel builds: make sure loaddefs.el is not being written
9 while Lisp files are compiled.
10 (compile): Don't depend on 'mh-autoloads'.
11 (compile-CMD, compile-SH): Depend on 'autoloads'.
12 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13
8 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649) 14 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9 15
102012-06-09 Chong Yidong <cyd@gnu.org> 162012-06-09 Chong Yidong <cyd@gnu.org>
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
316# compiled find the right files. 316# compiled find the right files.
317 317
318# Need separate version for sh and native cmd.exe 318# Need separate version for sh and native cmd.exe
319compile: $(lisp)/subdirs.el mh-autoloads compile-$(SHELLTYPE) doit 319compile: $(lisp)/subdirs.el compile-$(SHELLTYPE) doit
320 320
321compile-CMD: 321compile-CMD: autoloads
322# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g 322# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
323 for %%f in ($(COMPILE_FIRST)) do \ 323 for %%f in ($(COMPILE_FIRST)) do \
324 $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done %%f 324 $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done %%f
325 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \ 325 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \
326 $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done %%f/%%g 326 $(emacs) -l loaddefs $(BYTE_COMPILE_FLAGS) -f batch-byte-compile-if-not-done %%f/%%g
327 327
328compile-SH: 328compile-SH: autoloads
329# for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done 329# for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
330 for el in $(COMPILE_FIRST); do \ 330 for el in $(COMPILE_FIRST); do \
331 echo Compiling $$el; \ 331 echo Compiling $$el; \
@@ -501,7 +501,7 @@ bootstrap-clean-SH:
501# When done, remove bootstrap-emacs from ../bin, so that 501# When done, remove bootstrap-emacs from ../bin, so that
502# it will not be mistaken for an installed binary. 502# it will not be mistaken for an installed binary.
503 503
504bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps 504bootstrap: update-subdirs compile finder-data custom-deps
505 - $(DEL) "$(EMACS)" 505 - $(DEL) "$(EMACS)"
506 506
507# 507#