Next: Issues with upgrading ASDF, Previous: Upgrading ASDF, Up: Upgrading ASDF [Contents][Index]
Most implementations provide a recent ASDF 3 in their latest release. If yours doesn’t, we recommend upgrading your implementation. If the latest version of your implementation still doesn’t provide ASDF, or provides an old version, we recommend installing a recent ASDF so your implementation provides it, as explained below. If all fails, we recommend you load ASDF from source see Loading ASDF from source.
The ASDF source repository contains a tool to help you upgrade your implementation’s ASDF.
You can invoke it from the shell command-line as
tools/asdf-tools install-asdf lispworks
(where you can replace lispworks
by the name of the relevant implementation),
or you can (load "tools/install-asdf.lisp")
from your Lisp REPL.
It works on Allegro CL, Clozure CL, CMU CL, ECL, GCL, GNU CLISP, LispWorks, MKCL, SBCL, SCL, XCL. It doesn’t work on ABCL, Corman CL, Genera, MCL, MOCL. Happily, ABCL is usually pretty up to date and shouldn’t need that script. GCL requires a very recent version, and hasn’t been tested for lack of success compiling it. Corman CL, Genera, MCL are obsolete anyway. MOCL is under development.
Finally, if your implementation only provides ASDF 2, and you can’t or won’t upgrade it or override its ASDF module, you may simply configure ASDF to find a proper upgrade; however, to avoid issues with a self-upgrade in mid-build, you must make sure to upgrade ASDF immediately after requiring the builtin ASDF 2:
(require "asdf") ;; <--- insert programmatic configuration here if needed (asdf:load-system :asdf)