guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 05/05: Don't serialize build through psyntax-pp.scm


From: Andy Wingo
Subject: [Guile-commits] 05/05: Don't serialize build through psyntax-pp.scm
Date: Sun, 03 Jan 2016 17:32:57 +0000

wingo pushed a commit to branch master
in repository guile.

commit 204336c37754f38a69949cdad50c7c0b904dea93
Author: Andy Wingo <address@hidden>
Date:   Sun Jan 3 18:20:19 2016 +0100

    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.
---
 bootstrap/Makefile.am |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/bootstrap/Makefile.am b/bootstrap/Makefile.am
index e9b3895..e954059 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                       \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]