#!/bin/sh set -e export SBCL_TOP="../.." export SBCL_HOME="$SBCL_TOP/obj/sbcl-home" export SBCL="$SBCL_TOP/src/runtime/sbcl --noinform --core $SBCL_TOP/output/sbcl.core \ --lose-on-corruption --disable-debugger --no-sysinit --no-userinit" export UNAME=Linux export DEST=$SBCL_TOP/obj/sbcl-home/contrib build_asdf () { export ASDF_FASL=$DEST/asdf.fasl export UIOP_FASL=$DEST/uiop.fasl FROB_READTABLE="(setf (sb-ext:readtable-base-char-preference *readtable*) :both)" export FASL="$ASDF_FASL $UIOP_FASL" cd contrib/asdf mkdir -p $DEST $SBCL --eval "$FROB_READTABLE" \ --eval "(compile-file #p\"SYS:CONTRIB;ASDF;UIOP.LISP\" \ :print nil :output-file (merge-pathnames (parse-native-namestring \"$UIOP_FASL\")))"