From 4258693b55ecfb586f96b2988d4ca435086d6daf Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Wed, 29 May 2013 14:06:05 +0000 Subject: [PATCH] Split compile-runtime target into syntax-runtime and compile-runtime. Dependents of runtime-*.pkd for cref need only syntax-runtime. Increases parallelism. --- src/Makefile.in | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 4ede37d7e..2b803064d 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -127,18 +127,27 @@ compile-cref: echo '(begin (load "etc/compile.scm") (compile-dir "cref"))' \ | '$(MIT_SCHEME_EXE)' --batch-mode -.PHONY: compile-runtime -compile-runtime: compile-cref +.PHONY: syntax-runtime +syntax-runtime: compile-cref (echo '(begin' && \ echo ' (load "etc/compile.scm")' && \ echo ' (with-working-directory-pathname "cref"' && \ echo ' (lambda () (load "make")))' && \ - echo ' (compile-dir "runtime"))') \ + echo ' (with-working-directory-pathname "runtime"' && \ + echo ' (lambda ()' && \ + echo ' (load "runtime.sf")' && \ + echo ' (echo-cref-output "runtime"))))') \ + | '$(MIT_SCHEME_EXE)' --batch-mode + +.PHONY: compile-runtime +compile-runtime: syntax-runtime + (echo '(with-working-directory-pathname "runtime"' && \ + echo ' (lambda () (load "runtime.cbf")))') \ | '$(MIT_SCHEME_EXE)' --batch-mode .PHONY: compile-sf compile-sf: compile-cref -compile-sf: compile-runtime +compile-sf: syntax-runtime (echo '(begin' && \ echo ' (load "etc/compile.scm")' && \ echo ' (with-working-directory-pathname "cref"' && \ @@ -148,7 +157,7 @@ compile-sf: compile-runtime .PHONY: compile-star-parser compile-star-parser: compile-cref -compile-star-parser: compile-runtime +compile-star-parser: syntax-runtime (echo '(begin' && \ echo ' (load "etc/compile.scm")' && \ echo ' (with-working-directory-pathname "cref"' && \ -- 2.25.1