Questions tagged [asdf]

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.

204 questions
1
vote
1 answer

How Can I Find Symbols (and Source Files) of a loaded ASDF System

I have a situation in which I have some ASDF3 Systems which all share a common package. I would like to know how I can find all symbols that were defined by just one of them. Is there a way to collect these? It would also be helpful to be able to…
1
vote
1 answer

asdf-install missing component

I'm having a weird issue with asdf-install. * (require :asdf-install) ("ASDF-INSTALL") * (asdf-install:install :split-sequence) ... Installing /Users/zcai/.sbcl/SPLIT-SEQUENCE.asdf-install-tmp in …
sudo
  • 647
  • 2
  • 7
  • 19
1
vote
0 answers

ASDF on Windows 7 cannot load the ASD file using CLISP or SBCL

On my Windows 7 CLISP 2.49 and SBCL-1.4.14 are installed and they work perfectly. ASDF 3.3.1 is loaded by the these lines on .sbclrc or .clisprc (load "C:\\Users\\mayhem\\lisp\\asdf\\asdf.lisp") (require :asdf) (push…
Lars Malmsteen
  • 738
  • 4
  • 23
1
vote
1 answer

Quickload and compile system

I'm new to the world of Lisp project structure and I tackled my first bigger project in Lisp. That's why I started with a project skeleton made by quickproject:make-project. After this, my first idea was to create a folder structure, but I didin't…
Echon
  • 61
  • 5
1
vote
2 answers

Initializing ASDF Source Registry to Specific Locations

Currently, I initialize ASDF to a high-level directory: (asdf:initialize-source-registry `(:source-registry (:tree "D:\\Users Data\\Dave\\SW Library\\AI\\") :inherit-configuration)) Can the recursive search time through subdirectories…
davypough
  • 1,847
  • 11
  • 21
1
vote
1 answer

Finding Dependencies Among Common Lisp Files

The straightforward way to define an ASDF system involves specifying the dependencies among the component files. Given a (moderately large) collection of common lisp files for a working program, is there a way to easily work out the interfile…
davypough
  • 1,847
  • 11
  • 21
1
vote
0 answers

Using Project Versions with ASDF

When executing (asdf:load-system “foo”) at the REPL, how can ASDF know which version of project “foo” to run, if there are multiple versions of that project? Each of my ASDF projects resides in a different directory. The top level of each directory…
davypough
  • 1,847
  • 11
  • 21
1
vote
1 answer

(ASDF 3) Is it possible to recursively load systems in subdirectories?

I know about using :modules, but what about when systems get nested? Suppose I have the following structure, relative to some unknown user directory: foo/ -foo.asd -bar/ --bar.asd This could arise, for example, when using Git submodules. How…
Dumaiu
  • 138
  • 1
  • 8
1
vote
1 answer

Change path of compiled files in the asdf?

How do I change the path that .fas files are placed in? By lisp code and not configuration file. I am doing like this: (asdf:disable-output-translations) (push *default-pathname-defaults* asdf:*central-registry*) (setq asdf:*central-registry* …
PerduGames
  • 1,108
  • 8
  • 19
1
vote
2 answers

How can you make ASDF stop trying to load a nonexistent file?

On Debian, I had a bunch of cruft installed in /usr/lib/sbcl/site-systems that wouldn't load because the FASLs didn't match the version of SBCL that is actually installed. For some reason, none of these files were associated with any Debian package…
Throw Away Account
  • 2,593
  • 18
  • 21
1
vote
2 answers

SBCL ASDF problem vs. CCL Re: Circular Ref?

This compiles fine on ccl, but fails with a circular ref. error on SBCL: kp.asd: (in-package :asdf) (defsystem kp :components ((:module "utils" :components ((:file "utils") )) )) (load-system…
jackisquizzical
  • 307
  • 1
  • 8
1
vote
1 answer

asdf:test-system from a Makefile doesn't return an error return code

My unit tests run fine, but the make test target won't return an error code when the tests fail (echo $? is 0) (it does when there is a lisp error). This is not good for a CI system. My main system definition ends with in-order-to: :in-order-to…
Ehvince
  • 17,274
  • 7
  • 58
  • 79
1
vote
1 answer

ASDF is searching for a library in too many directories

When my app tries to connect to an sqlite DB with mito:connect-toplevel, it takes ages and indeed, ASDF is scanning directories recursively and scans several node_modules ! But this only happens with an executable, not on Slime. It may be my…
Ehvince
  • 17,274
  • 7
  • 58
  • 79
1
vote
3 answers

Building an executable with ECL: missing dependency or can not find make-build in asdf/interface

I'm trying to build an executable with ECL. I looked at the doc and this other SO question, where we learn that with ECL v <= 16.1.3 we must add a (require 'adsf) Then I push my project to the asdf registry: (pushnew "~/projects/my-project/"…
Ehvince
  • 17,274
  • 7
  • 58
  • 79
1
vote
1 answer

From Ceramic:bundle got uiop/run-program:subprocess-error does not find my component (and not showing much)

I want to build an application into a bundle with Ceramic. I can run the app with it. The error arises with: (ceramic:bundle :WEBLOCKS-TODOMVC :bundle-pathname #p"build/todomvc.tar") it runs… Ceramic: Compiling app... Launch: "/usr/local/bin/sbcl"…
Ehvince
  • 17,274
  • 7
  • 58
  • 79