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
0
votes
2 answers

Lisp exports internal symbols

I am learning to define a system and have made a small testing package named test. It's structure looks like the following: test/ test.asd hi.lip hito.lisp package.lisp Now in package.lisp file i define my package: (in-package…
user4813927
0
votes
2 answers

Issues with ASDF on Clisp

I'm trying to install s-xml (I'm heading towards s-xml-rpc) on clisp 2.49 on os x. I think I've got asdf install correctly. I can run: (asdf:asdf-version) "2.014" so I guess that bits installed ok. But when I run: (asdf-install:install…
MattyW
  • 1,519
  • 3
  • 16
  • 33
0
votes
1 answer

Recompile components in a test-op call in ASDF

I'm trying to find a way to always recompile the components (test-1, test-2, test-3, test-4) every time I call (asdf: test-system: my-system), but I do not know how to do it yet. (defsystem :my-system/test :author "noloop" :description "Test." …
PerduGames
  • 1,108
  • 8
  • 19
0
votes
0 answers

How to organize Common Lisp source code so that symbols are resolved properly among libraries?

Let's say we have the following prerequisites: (quickproject:make-project "lib1") (quickproject:make-project "lib2") ;;;; Modify lib1/package.lisp like that: …
vkamenen
  • 51
  • 7
0
votes
1 answer

ASDF Does Not Load Common Lisp Files

I am currently building a project in Common Lisp and am using the ASDF. However, I am experiencing some difficulties. Namely, when I run asdf:compile-system, it seems to compile. I can then do asdf:load-system successfully. However, some functions…
MadPhysicist
  • 5,401
  • 11
  • 42
  • 107
0
votes
2 answers

Common Lisp and ASDF System Testing

I am wondering how one runs tests using ASDF. Suppose we have the following system definition. What command would I run to run the tests? I have tried running things like (asdf:compile-system cl-mongo) and (asdf:load-system cl-mongo) but it does not…
MadPhysicist
  • 5,401
  • 11
  • 42
  • 107
0
votes
1 answer

How to install MJRCALC-system in SBCL by Quicklisp

I've installed SBCL with Quicklisp in my Tumbleweed. Quicklisp has also ASDF inbuilt. After that I also intalled MJRCALC-system in Home/quicklisp/local-projects/mjrcalc-folder. Quicklisp (and ASDF) can recognize the system (in SBCL): (ql:quickload…
0
votes
2 answers

require doesn't load asdf system in ~/common-lisp/ subdirectories

(require :your-system) doesn't load system but system exist in asdf standard directory ~/common-lisp/. CL-USER> (require :your-system) Don't know how to REQUIRE YOUR-SYSTEM. [Condition of type…
RomanKovalev
  • 852
  • 3
  • 10
  • 29
0
votes
0 answers

How can I find the asdf system that contains a lisp form?

Is there a way to determine what asdf system contains a piece of code? Obviously: (let ((p *package*)) (defun get-package () p)) Getting the package that code is compiled under is trivial. What's the equivalent for asdf systems? I can settle…
BnMcGn
  • 1,440
  • 8
  • 22
0
votes
2 answers

Finding the system of a package

I am in the design phase of building a deployment tool for CL projects. I imagine the typical workflow to be like so: (ql:quickload :yolo) (yolo:configure) Developer adds remote machine user and host, etc... Developer goes to bed. Turns off the…
anonymous
  • 1,522
  • 14
  • 24
0
votes
1 answer

How to :use systems I create with ASDF?

System-A and System-B are systems that are made using ASDF. They both have system definitions in .asd files and define packages, :system-a and :system-b, respectively. I want System-A to :use System-B's package in its package definition. I want…
audrow
  • 143
  • 1
  • 9
0
votes
1 answer

Getting started with ASDF package management and Common Lisp

I'm having trouble getting started with ASDF and Common Lisp. How can I get a minimal example working?
audrow
  • 143
  • 1
  • 9
0
votes
2 answers

Retrieving Common Lisp Project Dependencies from GitHub

I have a Common Lisp project that has a dependency on a C/C++ library that's hosted on GitHub. I need to clone, configure, and make this dependency in order for my project to work and I'd prefer to do this from within Common Lisp rather than…
user1569339
  • 683
  • 8
  • 20
0
votes
1 answer

asdf:make-build on Windows fails

I have the following files example.asd: (defsystem example :serial t :components ((:file "first") (:file "second"))) first.lisp: (defun first-print-hello () (format t "Hello from first.lisp!~%")) second.lisp: (format t…
jefftime
  • 442
  • 5
  • 14
0
votes
2 answers

ASDF 3 Package inferred system: specify path for system

In the package inferred system, you can specify a dependency on a package of the form "a/b/c" where a is the package name and there is a lisp file at "b/c.lisp" that defines the "a/b/c" package. Is there a way to specify a different path for the…
Thayne
  • 6,619
  • 2
  • 42
  • 67
1 2 3
13
14