(asdf:operate :build-op :system) creates image in ~/.cache/[...]

Florian Margaine florian at margaine.com
Sat Sep 26 19:57:48 UTC 2015


Hi list,

I'm trying to use the relatively recent feature to dump an image using
asdf's build-op feature, so that I only need this line in my terminal:

sbcl --eval "(push \"$PWD/\" asdf:*central-registry*)" --eval
'(asdf:operate :build-op :my-system)'

Where my-system has the following .asd:

(asdf:defsystem #:my-system
  :description "foo"
  :serial t
  :depends-on (:sb-posix)
  :components ((:file "package")
               (:file "my-system"))
  :build-operation "asdf:program-op"
  :build-pathname "my-system"
  :entry-point "my-system:main")

The binary is built just fine. The issue is that it's created in
~/.cache/common-lisp/sbcl-1.2.15.debian-linux-x64/$PWD/, while I'd
just like it to be created in $PWD/.

Is this a configuration issue? Where is this setting configured?

Regards,

-- 
Florian Margaine



More information about the asdf-devel mailing list