[asdf-devel] adsf/bundle:monolithic-fasl sometimes puts dependent system first in list
Try this: 1. git clone git://github.com/genworks/gendl.git 2. put it in your quicklisp/local-projects/ 3. (ql:register-local-projects) 4. (ql:quickload :gendl) 5. (ql:operate 'asdf/bundle:monolithic-fasl-op :gendl) 6. (first (asdf:output-files 'asdf/bundle:monolithic-fasl-op :gendl)) 7. Copy the yielded pathname string to use in next step. 8. [in a fresh Lisp] (load <the --all-systems fasl from step 7>) 9. [back in first Lisp]: (asdf:component-depends-on 'asdf/bundle:monolithic-fasl-op :gendl) 10. Read it and weep. system :gendl comes _first_ in the list. I feel it should come _last_. I tried to look into the asdf code behind this operation but am afraid it is currently far over my head. -- My Best, Dave Cooper, Genworks Support david.cooper@genworks.com, dave.genworks.com(skype) USA: 248-327-3253(o), 1-248-330-2979(mobile) UK: 0191 645 1699
A bit off topic bit this is the first I have heard about asdf-bundle and its coming inclusion in ASDF3. Is it possible to get it to return a plain text source file instead of a fasl? I have been working on something to do that (return a source file that when loaded is "equivalent" to an asdf:load-op, which hopefully across implementations) but I would much rather see if this is already a solved or easily solved problem via bundle. Plus attempt is a hacky POS, but I bet that is more or less unavoidable (because of the desired cross imp requirement and the complicated nature of the Lisp reader). Zach KS On Fri, Mar 15, 2013 at 5:06 PM, Dave Cooper <david.cooper@genworks.com>wrote:
Try this:
1. git clone git://github.com/genworks/gendl.git
2. put it in your quicklisp/local-projects/
3. (ql:register-local-projects)
4. (ql:quickload :gendl)
5. (ql:operate 'asdf/bundle:monolithic-fasl-op :gendl)
6. (first (asdf:output-files 'asdf/bundle:monolithic-fasl-op :gendl))
7. Copy the yielded pathname string to use in next step.
8. [in a fresh Lisp] (load <the --all-systems fasl from step 7>)
9. [back in first Lisp]:
(asdf:component-depends-on 'asdf/bundle:monolithic-fasl-op :gendl)
10. Read it and weep. system :gendl comes _first_ in the list. I feel it should come _last_.
I tried to look into the asdf code behind this operation but am afraid it is currently far over my head.
-- My Best,
Dave Cooper, Genworks Support david.cooper@genworks.com, dave.genworks.com(skype) USA: 248-327-3253(o), 1-248-330-2979(mobile) UK: 0191 645 1699
_______________________________________________ asdf-devel mailing list asdf-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel
Is it possible to get it to return a plain text source file instead of a fasl?
yes. look at how asdf HEAD builds itself, especially monolithic-concatenate-source-op -- attila Notice the erosion of your (digital) freedom, and do something about it! PGP: 2FA1 A9DC 9C1E BA25 A59C 963F 5D5F 45C7 DFCD 0A39
participants (3)
-
Attila Lendvai
-
Dave Cooper
-
Zach Kost-Smith