ASDF is a tool for describing how source files are organized: what depends on which and when. It is roughly what Common Lisp hackers use to build software where C hackers would use say GNU Make. ASDF stands for Another System Definition Facility, in the continuity of the Lisp DEFSYSTEM of yore.
Questions tagged [asdf]
204 questions
5
votes
2 answers
How to make defsystem use "everything"?
I am working on project euler problems in SBCL and keep a short file for every solution. Every problem has some 5am-based tests, which are referenced from a "main" test suite. These tests are run when "tests.lisp" is run. Since I got bored with…

Stefan Schmiedl
- 505
- 5
- 21
5
votes
5 answers
HOWTO definition and usage of Common Lisp packages (libraries)?
I have developed some Common Lisp functions in a couple of Lisp source files that I'd like easily available to other functions I write, or make available on github if I think they'd be useful for someone else. For now, I've just been putting them in…

lurker
- 56,987
- 9
- 69
- 103
4
votes
0 answers
Build fails when installing asdf Python plugin
I've spent hours on this. Can't figure out why I'm not able to install the asdf Python plugin.
Whenever I run asdf install python I get this error:
python-build 3.8.10 /Users/danielrvt/.asdf/installs/python/3.8.10
python-build: use openssl@1.1 from…

danielrvt
- 10,177
- 20
- 80
- 121
4
votes
1 answer
BUILD FAILED (Ubuntu 20.04 using python-build 2.2.5-11-gf0f2cdd1)
I have been trying to install python 3.9.1 in my local project with asdf
when trying to run asdf install python 3.9.1 it returns this error.
I already tried to install the dependencies and still without success.
asdf install python…

Lucas Borges
- 41
- 4
4
votes
4 answers
Using asdf can I load a system providing only previously made FASLs
I have a development machine and a production machine which are identical (Copy of a vm image).
I want to deliver the application to the production machine along with the asd file but I don't want to deliver source code. I have thought of 2 ways:…

Paralife
- 6,116
- 8
- 38
- 64
4
votes
1 answer
Using ASDF's :around-compile For Individual Files
An SO post containing a response by coredump shows how to apply a compiler policy to an ASDF system's component files:
(defsystem simple-system
:serial t
:around-compile (lambda (next)
(proclaim '(optimize (debug 3)
…

davypough
- 1,847
- 11
- 21
4
votes
1 answer
Difference between `uiop/package:define-package` and `defpackage`?
In Common Lisp with ASDF what is the difference between the define-package in uiop/package and the defpackage macro?

Benjamin Cassidy
- 827
- 1
- 8
- 23
4
votes
1 answer
Is there a way to catch the moment when Common Lisp package was defined?
I want to collect all packages defined during ASDF system loading.
Already tried:
to use difference between (list-all-packages) before and after system loading, but it is not very convenient, because some systems can be loaded as dependencies of…

Alexander Artemenko
- 21,378
- 8
- 39
- 36
4
votes
1 answer
How can ECL include ASDF dependencies in an executable?
I have this ecl-make.lisp:
(asdf:oos 'asdf:compile-op :stumpwm)
(defun system-objects (system)
(loop for component in (asdf:module-components (asdf:find-system system))
for pathname = (asdf:component-pathname component)
for directory =…

ayrnieu
- 1,839
- 14
- 15
4
votes
2 answers
How to fix asdf error when using buildapp on a quicklisp project
I've been making my first quicklisp project lately and I wanted to share it. I've put it on github, but not everyone has emacs + slime + quicklisp installed so I wanted to make an executable I could put with the code.
To do this I'm using buildapp…

Trashtalk
- 331
- 1
- 11
4
votes
2 answers
How to find all available systems?
There are good functions I use to study Common Lisp projects:
CL-USER> (list-all-packages)
CL-USER> (describe (asdf:find-system "asdf"))
How to list all systems know for asdf, quicklisp or sbcl?
I've tried to dig it from documentation but did not…

Hellseher
- 286
- 2
- 10
4
votes
3 answers
Common Lisp, asdf, tests, compile system with different optimization levels
What I really want is the in-source tests definitions:
Let's suppose I have an asdf system:
(defsystem simple-system
:serial t
:components ((:module "src"
:components
((:file "0-package")
…

Bad_ptr
- 593
- 3
- 15
4
votes
0 answers
Make ASDF3 available in Maxima's SBCL
Maxima for Windoows is compiled with SBCL but somehow is missing ASDF3 support. Here is the output of *FEATURES* from Maxima:
(QUICKLISP ASDF2 ASDF ASDF-UNICODE CL MK-DEFSYSTEM CLTL2 64-BIT
64-BIT-REGISTERS ALIEN-CALLBACKS ANSI-CL ASH-RIGHT-VOPS
…

mobiuseng
- 2,326
- 1
- 16
- 30
4
votes
3 answers
asdf-installing libraries from the command-line
Coming from a Perl background, I have to say I prefer cpan Foo::Bar to the having to start sbcl, (require :asdf-install) and finally (asdf-install:install :foo-bar). Is there anything more convenient than this around?

jrockway
- 42,082
- 9
- 61
- 86
4
votes
1 answer
"Unable to load any of the alternatives" when using Quicklisp to install CL+SSL even after installing open ssl
[2]> (ql:quickload "cl+ssl")
To load "cl+ssl":
Load 1 ASDF system:
cl+ssl
; Loading "cl+ssl"
*** - Unable to load any of the alternatives:
("libssl32.dll" "ssleay32.dll")
After three days of banging my head against the wall, I'm asking…

Spencer Riedel
- 91
- 4