From e5e04c4447c05d9bba1cfb65b70b632bbb6cc01b Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 1 Dec 2018 14:53:19 +0000 Subject: [PATCH] Restore parallel compilation of compiler. --- src/Makefile.in | 44 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 3d68d8a16..98573e51b 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -246,10 +246,46 @@ syntax-compiler: compile-sf | $(HOST_RUNTIME_ONLY) .PHONY: compile-compiler -compile-compiler: syntax-compiler - (echo '(with-working-directory-pathname "compiler"' && \ - echo ' (lambda () (load "compiler.cbf")))') \ - | $(HOST_COMPILER) +compile-compiler: compile-compiler-back +compile-compiler: compile-compiler-base +compile-compiler: compile-compiler-fggen +compile-compiler: compile-compiler-fgopt +compile-compiler: compile-compiler-machine +compile-compiler: compile-compiler-rtlbase +compile-compiler: compile-compiler-rtlgen +compile-compiler: compile-compiler-rtlopt + +.PHONY: compile-compiler-back +compile-compiler-back: syntax-compiler + echo '(compile-directory "compiler/back")' | $(HOST_COMPILER) + +.PHONY: compile-compiler-base +compile-compiler-base: syntax-compiler + echo '(compile-directory "compiler/base")' | $(HOST_COMPILER) + +.PHONY: compile-compiler-fggen +compile-compiler-fggen: syntax-compiler + echo '(compile-directory "compiler/fggen")' | $(HOST_COMPILER) + +.PHONY: compile-compiler-fgopt +compile-compiler-fgopt: syntax-compiler + echo '(compile-directory "compiler/fgopt")' | $(HOST_COMPILER) + +.PHONY: compile-compiler-machine +compile-compiler-machine: syntax-compiler + echo '(compile-directory "compiler/machine")' | $(HOST_COMPILER) + +.PHONY: compile-compiler-rtlbase +compile-compiler-rtlbase: syntax-compiler + echo '(compile-directory "compiler/rtlbase")' | $(HOST_COMPILER) + +.PHONY: compile-compiler-rtlgen +compile-compiler-rtlgen: syntax-compiler + echo '(compile-directory "compiler/rtlgen")' | $(HOST_COMPILER) + +.PHONY: compile-compiler-rtlopt +compile-compiler-rtlopt: syntax-compiler + echo '(compile-directory "compiler/rtlopt")' | $(HOST_COMPILER) .PHONY: bundle-compiler bundle-compiler: liarc-bundle-tools -- 2.25.1