X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=slam.sh;h=cb86e73272961ceed9022eee5eaaaa816756a0fb;hb=9eec6e12fb6d22101631158dc1012276fd00facc;hp=632672b8dac8eee5131a3ec825c455f393582a95;hpb=1bbd405c3c21f93db7aa956946738c8a3f30837d;p=sbcl.git diff --git a/slam.sh b/slam.sh index 632672b..cb86e73 100644 --- a/slam.sh +++ b/slam.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e # a quick and dirty way of partially rebuilding the system after a # change @@ -96,17 +97,21 @@ case "$HOST_TYPE" in exit 1 esac -export SBCL_XC_HOST="$LISP $INIT" +SBCL_XC_HOST="$LISP $INIT" +export SBCL_XC_HOST # (We don't do make-host-1.sh at all. Hopefully nothing relevant has # changed.) -sh make-target-1.sh || exit 1 +. ./find-gnumake.sh +find_gnumake + +sh make-target-1.sh # Instead of doing the full make-host-2.sh, we (1) use after-xc.core # to rebuild only obviously-out-of-date Lisp files, then (2) run # GENESIS. -$LISP $CORE output/after-xc.core $INIT <<'EOF' || exit 1 +$LISP $CORE output/after-xc.core $INIT <<'EOF' (load "src/cold/slam.lisp") EOF # (This ^ used to be @@ -116,9 +121,9 @@ EOF # rebuild-this-stem requests on the command line to supplement # the rebuild-obviously-outdated-stems logic above.) # -sh make-genesis-2.sh || exit 1 +sh make-genesis-2.sh -sh make-target-2.sh || exit 1 +sh make-target-2.sh echo //ordinary termination of slam.sh date