summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-01-03 18:20:19 +0100
committerAndy Wingo <wingo@pobox.com>2016-01-03 18:20:19 +0100
commit204336c37754f38a69949cdad50c7c0b904dea93 (patch)
treec95eecd34bd4299a461203d53ff7d4fa3e75dd8f /bootstrap
parentfb2f7b4e5fc50c3cf42d4d4906060bd99d56cb05 (diff)
Don't serialize build through psyntax-pp.scm
* bootstrap/Makefile.am: Don't serialize the build through psyntax-pp.scm. On a multicore make, this will result in higher total CPU time as multiple processes use an interpreted expander, but lower total build time, as all processes will take approximately the same time to load and run the compiler.
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/bootstrap/Makefile.am b/bootstrap/Makefile.am
index e9b3895bf..e954059bb 100644
--- a/bootstrap/Makefile.am
+++ b/bootstrap/Makefile.am
@@ -28,14 +28,11 @@ GOBJECTS = $(SOURCES:%.scm=%.go)
GUILE_WARNINGS =
GUILE_OPTIMIZATIONS = -O1
nobase_noinst_DATA = $(GOBJECTS) ice-9/eval.go
-CLEANFILES = $(GOBJECTS) ice-9/eval.go ice-9/psyntax-pp.go
+CLEANFILES = $(GOBJECTS) ice-9/eval.go
# We must build the evaluator first, so that we can be sure to control
-# the stack. Then we really need to build the expander before other
-# things, otherwise the compile time for everything else is dominated by
-# the expander.
-ice-9/psyntax-pp.go: ice-9/eval.go
-$(GOBJECTS): ice-9/psyntax-pp.go
+# the stack.
+$(GOBJECTS): ice-9/eval.go
VM_TARGETS := system/vm/assembler.go system/vm/disassembler.go
$(VM_TARGETS): $(top_builddir)/libguile/vm-operations.h
@@ -61,6 +58,7 @@ SUFFIXES = .scm .go
# these in any order; the order below is designed to hopefully result in
# the lowest total compile time.
SOURCES = \
+ ice-9/psyntax-pp.scm \
language/cps/intmap.scm \
language/cps/intset.scm \
language/cps/utils.scm \