X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=slam.sh;h=cb86e73272961ceed9022eee5eaaaa816756a0fb;hb=d4d6c4b16a3655ce99a87d43f411391363531260;hp=8b1030103f7d8093a4d445bb9ab19958f63118b5;hpb=78164d7ec6e90551208719b0445286eccf35c451;p=sbcl.git diff --git a/slam.sh b/slam.sh index 8b10301..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 @@ -86,22 +87,31 @@ case "$HOST_TYPE" in INIT="-norc" CORE="-M" ;; + openmcl) + LISP="openmcl" + INIT="-b" + CORE="-I" + ;; *) echo unknown host type: "$HOST_TYPE" echo should be one of "sbcl", "cmucl", or "clisp" 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 @@ -111,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