The simplest way to do it would be something like
export ASDF_OUTPUT_TRANSLATIONS=/:$PWD/../tmp/fasls/$command
or maybe you'll prefer that at the end of defun load-asdf:
(asdf::initialize-output-translations `(:asdf-output-translations (:root (,(truename (asdf:merge-pathnames* #p"../tmp/fasls/ *default-pathname-defaults*)) :implementation)) :ignore-inherited-configuration))
[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ] No woman ever falls in love with a man unless she has a better opinion of him than he deserves. — Edgar Watson Howe
On 15 March 2010 22:19, Robert Goldman rpgoldman@sift.info wrote:
On 3/15/10 Mar 15 -10:11 PM, Faré wrote:
I think that we should turn relocation on, and make it happen in a known temporary directory (e.g. tmp/fasls/) that we can remove afterwards.
janderson's test also creates files, that should be made to exist under same tmp/ directory.
Will you do that? Otherwise, I'll do it later this or next week.
I'll see if I can figure it out. It would probably be good for me to figure out how the output-translations work.
Is this a job for "translate ALL the binaries" under lisp control or should we put one of those local relocation specifier files into the tests directory, and do this that way?
thanks, r
[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ] First, they said Java was good for app-lets; then they recoiled, and said it was good for serv-lets; actually, what it's good for is toy-lets.
On 15 March 2010 22:07, Robert Goldman rpgoldman@sift.info wrote:
I find that the tests don't clean up after themselves. The tests now leave behind .fasl files in ~/.cache/common-lisp/**/...
This is not a directory structure I ever used before, nor is it one I ever intended to use. I /believe/ that the tests used to tidy up the fasls they created.
I think either the ASDF fasl relocation facility should be turned off, or we need to provide a new clean up facility. I would prefer the former (except for tests that explicitly test the facility, preferably into /tmp rather than into the user's homedir).
Best, r
asdf-devel mailing list asdf-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel