Re: Deploying application with SBCL, ASDF



fungsin.lui@xxxxxxxxx writes:

However, when I tried to start it, asdf will issue a lot of warnings
since it's trying to determine if the *.fasl files need to be
recompile.

Question:

- Is there a way to have asdf generate a load.lisp for a package like
those found in Ediware?

It must be possible to write some methods in asdf to print commands to
compile or load the files instead of executing it.


- How to suppress asdf from comparing the *.lisp and *.fasl and just
load the *.fasl in order?

I'd browse the asdf manual, and read asdf sources...

Below are my start scripts. Note that I have built a base core for
libraries that I use (cl-ppcre and etc).

I didn't build a complete core including my appliation module because
I update it often and I just want to distribute the *.fasl to the
production system and reload it on the fly, instead of building a new
core each time my application is updated.

But instead of distributing the application as .fasl, I'd just
generate an executable image. It's bigger but you can compress it and
with nowadays bandwidths and amovible supports size, it shouldn't be a
problem.

-rw-r--r-- 1 pjb pjb 58M 2006-09-19 15:08 wizards.core
-rw-r--r-- 1 pjb pjb 14M 2006-09-28 07:00 wizards.core.bz2
-rw-r--r-- 1 pjb pjb 16M 2006-09-28 07:00 wizards.core.gz

clisp can even execute directly gziped images, if you don't generate
an executable image.

--
__Pascal Bourguignon__ http://www.informatimago.com/
Un chat errant
se soulage
dans le jardin d'hiver
Shiki
.



Relevant Pages

  • Re: fasl-file-valid-p
    ... when the .fasl is older than the ... > .lisp, recompilation is in order. ... Asdf should IMHO support a binary tree different from the source path. ... My current practice with defsystem ...
    (comp.lang.lisp)
  • Deploying application with SBCL, ASDF
    ... how do people deploy their app if one wants to use asdf to ... system, I remove all the *.lisp, leaving only the *.fasl files on ... I didn't build a complete core including my appliation module because ...
    (comp.lang.lisp)
  • Re: fasl-file-valid-p
    ... >> Build tools, like defsystem or asdf, have to determine whether a file ... when the .fasl is older than the ... >> .lisp, recompilation is in order. ... Sam Steingold running w2k ...
    (comp.lang.lisp)
  • Re: changing binary extension with ASDF
    ... > I want to use ASDF with both SBCL and Allegro. ... > have a default extension of ".fasl" for the binaries, ...
    (comp.lang.lisp)