guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 27/55: Bootstrap optimization


From: Andy Wingo
Subject: [Guile-commits] 27/55: Bootstrap optimization
Date: Thu, 23 May 2019 11:52:40 -0400 (EDT)

wingo pushed a commit to branch master
in repository guile.

commit af1d55bcca8005e46212ba89235dfebcd97a12a3
Author: Mikael Djurfeldt <address@hidden>
Date:   Thu Oct 25 13:53:47 2018 +0200

    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.
---
 bootstrap/Makefile.am | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/bootstrap/Makefile.am b/bootstrap/Makefile.am
index 57b62eb..bcb22cd 100644
--- a/bootstrap/Makefile.am
+++ b/bootstrap/Makefile.am
@@ -32,5 +32,9 @@ GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives
 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



reply via email to

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