... | ... | @@ -21,25 +21,33 @@ The following piece of code will also work on much older versions, though. |
|
|
(null "1.0"))))
|
|
|
```
|
|
|
|
|
|
### My favourite lisp implementation uses an old version of ASDF. How do I upgrade regardless?
|
|
|
### My favourite lisp implementation uses an old version of ASDF. What can I do?
|
|
|
|
|
|
If your current working directory is main directory of an ASDF git checkout, please first run
|
|
|
If your current working directory is main directory of an ASDF clond, please first run
|
|
|
```shell
|
|
|
git checkout release
|
|
|
make ext
|
|
|
```
|
|
|
to fetch the necessary submodules. Depending on your lisp implementation, you can then run either
|
|
|
to switch to the highly recommended `release` branch and fetch the necessary submodules.
|
|
|
|
|
|
If you quickly mean to test if the old version of ASDF (and thus UIOP) your lisp implementation is shipping is what's causing your troubles, you can simple run
|
|
|
```shell
|
|
|
make
|
|
|
```
|
|
|
to produce a build/asdf.lisp which you can then use in ways like this: `sbcl --load build/asdf.lisp --load ~/code-that-was-causing-errors.lisp
|
|
|
|
|
|
The proper solution for permanently upgrading the bundled ASDF version of your lisp implementation, however, would be, depending on which one you're on, something like
|
|
|
```shell
|
|
|
ccl --load ./tools/asdf-tools -- install-asdf ccl # note the double-dash
|
|
|
ecl --load ./tools/asdf-tools -- install-asdf ecl # note the double-dash
|
|
|
sbcl --load ./tools/asdf-tools install-asdf sbcl
|
|
|
```
|
|
|
You will typically want to use the release branch (or a tag like 3.2.1) rather than the master branch of ASDF.
|
|
|
|
|
|
Please note that you can e.g. use sbcl to upgrade cmucl's asdf via
|
|
|
The fact fact that your implementation occurs twice in each call is not by accident: The first is used to compile the lisp-code used to run install-asdf; the second is the target you're upgrading. They need not be identical; in particular, you could use sbcl to upgrade cmucl's asdf via
|
|
|
```shell
|
|
|
sbcl --load ./tools/asdf-tools install-asdf cmucl
|
|
|
```
|
|
|
(which is good because building/running asdf-tools via cmucl itself is [currently broken](https://bugs.launchpad.net/asdf/+bug/1682625)).
|
|
|
which comes in handy now that building/running asdf-tools via cmucl itself is [broken](https://bugs.launchpad.net/asdf/+bug/1682625).
|
|
|
|
|
|
### How do I build an executable with ASDF-3?
|
|
|
|
... | ... | |