diff options
author | Mikael Djurfeldt <mikael@djurfeldt.com> | 2018-10-25 13:53:47 +0200 |
---|---|---|
committer | Mikael Djurfeldt <mikael@djurfeldt.com> | 2018-10-28 13:36:19 +0100 |
commit | d9af6706e8a1a0148d492b222758e49e03d225b7 (patch) | |
tree | 32be8ae9273b79e6afcaf124dcb5f4af5bf6efb7 /bootstrap | |
parent | 1bbce71501198c3c7abdf07941f5cdc1434858c2 (diff) |
Bootstrap optimization
* bootstrap/Makefile.am: Build both eval.go and psyntax-pp.go before
the rest of the .go files so that they are handled by a fast macro
expander. This saves time for a parallel build.
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bootstrap/Makefile.am b/bootstrap/Makefile.am index 496d5301a..91c3b93f5 100644 --- a/bootstrap/Makefile.am +++ b/bootstrap/Makefile.am @@ -27,5 +27,9 @@ GUILE_OPTIMIZATIONS = -O1 include $(top_srcdir)/am/bootstrap.am # We must build the evaluator first, so that we can be sure to control -# the stack. -$(filter-out ice-9/eval.go, $(GOBJECTS)): ice-9/eval.go +# the stack. Then, we build the syntax-case macro expander before the +# rest, in order to speed up parallel builds. +ice-9/psyntax-pp.go: | ice-9/eval.go + +$(filter-out ice-9/eval.go ice-9/psyntax-pp.go, $(GOBJECTS)): | \ + ice-9/psyntax-pp.go |