How to use buildapp in combination with quicklisp

前端 未结 1 1181
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 00:30

I want to use buildapp to make the curl-lisp executable given as an example:

buildapp --output lisp-curl --asdf-path ~/src/clbuild/systems/ \\
    --load-sys         


        
相关标签:
1条回答
  • 2020-12-29 01:09

    If Drakma is already installed in quicklisp, I think your example will work if you use --asdf-tree instead of --asdf-path. But using the Quicklisp directory as a tree can cause some trouble, as not every system file in the tree is meant to be loaded.

    There's another option that more closely integrates with Quicklisp's knowledge of available systems. Here's what I do:

    sbcl --no-userinit --no-sysinit --non-interactive \
         --load ~/quicklisp/setup.lisp \
         --eval '(ql:quickload "drakma")' \
         --eval '(ql:write-asdf-manifest-file "quicklisp-manifest.txt")'
    
    buildapp --manifest-file quicklisp-manifest.txt --load-system drakma [the rest of your options]
    

    The first command ensures that drakma has been downloaded, and that an index of the systems Quicklisp knows about is in quicklisp-manifest.txt. The second uses that index to build the application using installed Quicklisp systems.

    0 讨论(0)
提交回复
热议问题