On May 25, 2009, at 11:39 AM, Abdulaziz Ghuloum wrote:
I'm inclined towards the ypsilon model (put fasl files in a
$HOME/.ikarus/precompiled directory).
First cut at the proposed changes was committed with the
following log:
revno: 1795
committer: Abdulaziz Ghuloum <[email protected]>
branch nick: ikarus
timestamp: Tue 2009-05-26 13:39:32 +0300
message:
- Ikarus now recognizes IKARUS_FASL_DIRECTORY (and the corresponding
fasl-directory parameter) that works as follows:
- if IKARUS_FASL_DIRECTORY is set to "", no fasl files are
produced.
- if IKARUS_FASL_DIRECTORY is set to something other than "", the
string is used as a directory in which fasl files are placed.
- if IKARUS_FASL_DIRECTORY is unset, the directory
$HOME/.ikarus/precompiled is used for fasl output.
- library file names are cannonicalized using file-real-path.
- the fasl file (if produced) is the result of
(string-append (fasl-directory) (file-real-path filename) ext)
where ext is either ".ikarus-32bit-fasl" or ".ikarus-64bit-fasl".
- The old behavior (placing the fasl files in the same place as the
library files) can be achieved by setting
IKARUS_FASL_DIRECTORY='/'.
Please do try it out and let me know of any brokenness.
Autocaching is still not implemented. See next message in the other
thread.
Aziz,,,