4 # This is a script to be run as part of make.sh. The only time you'd
5 # probably want to run it by itself is if you're cross-compiling the
6 # system or doing some kind of troubleshooting.
8 # This software is part of the SBCL system. See the README file for
11 # This software is derived from the CMU CL system, which was
12 # written at Carnegie Mellon University and released into the
13 # public domain. The software is in the public domain and is
14 # provided with absolutely no warranty. See the COPYING and CREDITS
15 # files for more information.
17 echo //entering make-target-contrib.sh
22 # Just doing CC=${CC:-cc} may be enough, but it needs to be checked
23 # that cc is available on all platforms.
25 if [ -x "`command -v cc`" ]; then
32 unset EXTRA_CFLAGS
# avoid any potential interference
35 # Load our build configuration
38 ## All programs spawned by make-target-contrib.sh that use this
39 ## variable or anything derived from it are started with CWD
40 ## contrib/<contrib_name>/. Keeping this a relative pathname to the
41 ## toplevel source directory makes the shell and make portions of the
42 ## build system robust against funny stuff in PWD.
45 SBCL_HOME
="$SBCL_TOP/obj/sbcl-home"
46 export SBCL_HOME SBCL_TOP
48 SBCL
="$SBCL_TOP/src/runtime/sbcl --noinform --core $SBCL_TOP/output/sbcl.core \
49 --lose-on-corruption --disable-debugger --no-sysinit --no-userinit"
52 set -e # exit with failure if any $GNUMAKE fails
54 $GNUMAKE $SBCL_MAKE_JOBS -k -C contrib
57 $GNUMAKE -C contrib
$x.fasl