3 # This script builds a verion of sbcl with the libraries pre loaded
4 # for ease of travis. Remember to update bin/buildosxsbcl when you
11 tar jxf ../deps/linux/sbcl-1.2.6-x86-64-linux-binary.tar.bz2 &&
12 cd sbcl-1.2.6-x86-64-linux/ &&
13 SBCL_HOME="" INSTALL_ROOT=$cwd/tmp/sbcl/ bash install.sh )
18 tar zxf ../../deps/common-lisp/3b-cl-opengl-993d627.tar.gz &&
19 tar zxf ../../deps/common-lisp/alexandria-b1c6ee0.tar.gz &&
20 tar zxf ../../deps/common-lisp/babel_0.5.0.tar.gz &&
21 tar zxf ../../deps/common-lisp/cffi_0.15.0.tar.gz &&
22 tar zxf ../../deps/common-lisp/cl-ppcre.tar.gz &&
23 tar zxf ../../deps/common-lisp/ironclad.tar.gz &&
24 tar zxf ../../deps/common-lisp/mt19937-latest.tar.gz &&
25 tar zxf ../../deps/common-lisp/nibbles-v0.12.tar.gz &&
26 tar zxf ../../deps/common-lisp/trivial-features_0.8.tar.gz &&
27 tar zxf ../../deps/common-lisp/cl-charms-9bb94ef.tar.gz &&
28 tar zxf ../../deps/common-lisp/style-checker_0.1.tar.gz &&
29 tar zxf ../../deps/common-lisp/docgen_0.1.tar.gz
32 SBCL_HOME="" tmp/sbcl/bin/sbcl --core tmp/sbcl/lib/sbcl/sbcl.core \
33 --eval "(require 'asdf)" \
34 --eval "(asdf:initialize-source-registry '(:source-registry (:tree \"${PWD}/tmp/deps\") :IGNORE-INHERITED-CONFIGURATION))" \
35 --eval "(require 'asdf)" \
36 --eval "(asdf:load-system :cl-ppcre)" \
37 --eval "(asdf:load-system :mt19937)" \
38 --eval "(asdf:load-system :ironclad)" \
39 --eval "(asdf:load-system :cl-opengl)" \
40 --eval "(asdf:load-system :cl-glut)" \
41 --eval "(asdf:load-system :cl-charms)" \
42 --eval "(asdf:load-system :style-checker)" \
43 --eval "(asdf:load-system :docgen)" \
44 --eval "(asdf:clear-output-translations)" \
45 --eval '(sb-ext:save-lisp-and-die "travissbcl" :executable t)' \
48 travisname=travissbcl-$(git rev-parse --short HEAD)
49 mv travissbcl $travisname
51 echo "You should upload via the command: scp $travisname nami:/opt/travis/sbcls/clnl/"
52 echo "You should also set travisname in .travis.yml to $travisname"