Skip to content

Avoid deleting temporary FASL files? #46

Description

@fosskers

I just noticed that if I manually type this into a REPL, where foo is a system from my project:

(asdf:load-system :foo)

that FASL files are produced / loaded from my ~/.cache/common-lisp/. However, if I use sly-asdf-load-system, it produces lines like:

; wrote /home/colin/.cache/common-lisp/sbcl-2.4.9-linux-x64/home/colin/code/common-lisp/aero-fighter/src/main-tmp1CXFJSK9.fasl

And then these FASL files seem to be immediately deleted after loading, gone from the filesystem. In particular this forces a recompile the next time I load up the REPL. Is there a way to disable this behaviour, and have it cache the FASL files like a normal call do load-system would?

Note that the above output was from SBCL, but with ECL as well I notice it insisting on fully recompiling every file in my project (across multiple systems) when I use sly-asdf-load-system.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions