Add :force t to asdf-dependent contrib modules
Change install.sh to rename old binary/core files instead of
copying them - does not kill running SBCL programs in such a
gruseome way
Create $SBCL_HOME/site-systems in install.sh
... OK, that's IT, I am DONE for 0.7.13
- echo "(asdf:operate 'asdf:load-op :$(SYSTEM))" | \
+ echo "(asdf:operate 'asdf:load-op :$(SYSTEM) :force t)" | \
$(SBCL) --eval '(load "../asdf/asdf")'
test: all
$(SBCL) --eval '(load "../asdf/asdf")'
test: all
(let ((dso-name (unix-name (car (output-files operation dso)))))
(unless (zerop
(run-shell-command
(let ((dso-name (unix-name (car (output-files operation dso)))))
(unless (zerop
(run-shell-command
- #-sunos "gcc -shared -o ~S ~{~S ~}"
- #+sunos "gcc -shared -lresolv -lsocket -lnsl -o ~S ~{~S ~}" dso-name
+ #+sunos "gcc -shared -o ~S ~{~S ~} -lresolv"
+ #-sunos "gcc -shared -o ~S ~{~S ~} "
+ dso-name
(mapcar #'unix-name
(mapcan (lambda (c)
(output-files operation c))
(mapcar #'unix-name
(mapcan (lambda (c)
(output-files operation c))
- echo "(asdf:operate 'asdf:load-op :$(SYSTEM))" | \
+ echo "(asdf:operate 'asdf:load-op :$(SYSTEM) :force t)" | \
$(SBCL) --eval '(load "../asdf/asdf")'
test: all
$(SBCL) --eval '(load "../asdf/asdf")'
test: all
export SBCL_HOME
ensure_dirs $INSTALL_ROOT $INSTALL_ROOT/bin $INSTALL_ROOT/lib \
$INSTALL_ROOT/man $INSTALL_ROOT/man/man1 \
export SBCL_HOME
ensure_dirs $INSTALL_ROOT $INSTALL_ROOT/bin $INSTALL_ROOT/lib \
$INSTALL_ROOT/man $INSTALL_ROOT/man/man1 \
- $SBCL_HOME $SBCL_HOME/systems
+ $SBCL_HOME $SBCL_HOME/systems $SBCL_HOME/site-systems
+# move old versions out of the way. Safer than copying: don't want to
+# break any running instances that have these files mapped
test -f $INSTALL_ROOT/bin/sbcl && \
test -f $INSTALL_ROOT/bin/sbcl && \
- cp $INSTALL_ROOT/bin/sbcl $INSTALL_ROOT/bin/sbcl.old
+ mv $INSTALL_ROOT/bin/sbcl $INSTALL_ROOT/bin/sbcl.old
test -f $SBCL_HOME/sbcl.core && \
test -f $SBCL_HOME/sbcl.core && \
- cp $SBCL_HOME/sbcl.core $SBCL_HOME/sbcl.core.old
+ mv $SBCL_HOME/sbcl.core $SBCL_HOME/sbcl.core.old
cp src/runtime/sbcl $INSTALL_ROOT/bin/
cp output/sbcl.core $SBCL_HOME/sbcl.core
cp src/runtime/sbcl $INSTALL_ROOT/bin/
cp output/sbcl.core $SBCL_HOME/sbcl.core
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)