From: Juan Jose Garcia-Ripoll <jjgarcia@us...> - 2008-05-07 09:27:09
- User may change the ASDF operation used by REQUIRE by setting the
hidden variable asdf::*require-asdf-operator*
- Fixes in the operator LOAD-FASL-OP.
Tag: (CVS 2008-05-07 11:23)
I now have this configuration in my .ecl file to create and load a
single FASL file per ASDF library.
(defvar asdf::*binaries-root* "/Users/jjgarcia/.asdf-binaries/")
(setf asdf::*require-asdf-operator* 'asdf:load-fasl-op)
(defmethod asdf:output-files :around ((op asdf:operation) (c asdf:component))
"Method to rewrite output files to fasl-root"
(flet ((remap-directory (pathname)
(let ((d (pathname-directory pathname)))
:directory (append (pathname-directory asdf::*binaries-root*)
(mapcar #'remap-directory (call-next-method))))
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)