From 8ef454f7487dc1593ce53b0935b7824118156977 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Wed, 7 Mar 2012 20:47:30 -0700 Subject: [PATCH] svm: Use the svm1 machine to compile-everything. This takes hours, but exercises the boot-compiler, which can compile by-procedures. Added timestamps to the progress notes. The option to cross-compile everything is available by defining FAST, e.g. `make FAST=1'. --- src/etc/compile-svm.sh | 104 ++++++++++++++++++++++++++++++++++------- 1 file changed, 87 insertions(+), 17 deletions(-) diff --git a/src/etc/compile-svm.sh b/src/etc/compile-svm.sh index 248736773..220f24df9 100755 --- a/src/etc/compile-svm.sh +++ b/src/etc/compile-svm.sh @@ -30,36 +30,37 @@ set -e . etc/functions.sh -echo "# Remove the cross-compiler's bands and stash its products." +echo "# `date`: Remove the cross-compiler's bands and stash its products." run_cmd rm -f lib/x-runtime.com run_cmd rm -f lib/x-compiler.com run_cmd ./Stage.sh remove 0 run_cmd ./Stage.sh make-cross 0 -echo "# Restore the cross-compiler's host-compiled .coms." +echo "# `date`: Restore the cross-compiler's host-compiled .coms." run_cmd ./Stage.sh unmake X -echo "# Re-compile the cross-compiler." +echo "# `date`: Re-compile the cross-compiler." -echo "# Re-syntax prerequisites." +echo "# `date`: Re-syntax prerequisites." for DIR in runtime sf cref; do run_cmd_in_dir $DIR "${@}" --batch-mode --load $DIR.sf