xach / buildapp

Buildapp makes it easy to build application executables with SBCL
http://www.xach.com/lisp/buildapp/
123 stars 27 forks source link

Clozure common lisp support #10

Closed eschulte closed 11 years ago

eschulte commented 11 years ago

Hello,

I recently had to switch from buildapp to cl-launch on a project which needed to be buildable with both SBCL and CCL. I found cl-launch baroque, hard to use and impossible to customize, so now that crunch time for that project is over, I've added CCL support to buildapp so that I will hopefully never have to use cl-launch again. I hope you find these patches acceptable and merge them into buildapp.

The first patch make all of the changes required to load compile and build buildapp with CCL, and the second updates the Makefile so that CCL may be used by setting LISP=ccl. If you like I would be happy to submit another patch updating the documentation to reflect that Clozure is also now supported.

Cheers,

xach commented 11 years ago

Fantastic! Updated documentation would be most welcome.

eschulte commented 11 years ago

I just pushed up a documentation patch (and it looks like github automatically added it to this pull request). It is a fairly straightforward search replace adding CCL where SBCL is mentioned and adding some links to the ccl functions used when the documentation mentions specific sbcl functions. I'm not sure how/if the l1sp url redirection supports ccl documentation, so I just linked directly to the ccl site.

I should also mention, my Makefile patch adds the current working directory to the asdf:central-registry when building the buildapp executable as this was required for buildapp to build on my system. It may also be nice to add a "buildapp-cll" Makefile target so that both the sbcl and ccl versions may be install simultaneously (I think this is what I will be doing locally).

xach commented 11 years ago

This is fantastic, thank you very much for doing it.