Re: [racket] "raco setup -c my-collect" takes a long time

2012-11-29 Thread Laurent
That could probably be useful in general, but now it's less necessary to me. > > Actually, that would still be useful for me too, because from time to time I have some dependency problem, although I do `raco setup' both collections (x11-racket then rwind) before running it: link: module mismatch;

Re: [racket] "raco setup -c my-collect" takes a long time

2012-11-29 Thread Laurent
On Thu, Nov 29, 2012 at 1:49 PM, Matthew Flatt wrote: > I guess just using `(define-logger x11)' and `log-x11-debug' isn't > enough control? > The X11 logger (which could still use define-logger I suppose) is used to print all X ffi calls to standard output, so this requires a (few) level of ind

Re: [racket] "raco setup -c my-collect" takes a long time

2012-11-29 Thread Matthew Flatt
I guess just using `(define-logger x11)' and `log-x11-debug' isn't enough control? The `--mode' argument to `raco setup' is more intended for this situation, but it requires a little work to create a mode. Carl's suggestion of PLTCOMPILEDROOTS may be simpler (though, again, it's not really meant f

Re: [racket] "raco setup -c my-collect" takes a long time

2012-11-29 Thread Carl Eastlund
Have you considered using different settings for PLTCOMPILEDROOTS depending on whether you want the debug info or not? If you do that, you'll simply have two copies of all the .zo files, and you can simply switch between them as necessary. Then all of Racket's automatic build dependency machinery

Re: [racket] "raco setup -c my-collect" takes a long time

2012-11-29 Thread Laurent
Because x11-racket compilation depends on an environment variable to decide if it should compile with debug info or not. So if I want to recompile with a different debug option without modifying the source files it seems I need to remove the `compiled' directories, right? It seems that `raco setup'

Re: [racket] "raco setup -c my-collect" takes a long time

2012-11-29 Thread Matthew Flatt
`raco setup -c' is intended to reset a whole installation, and so it doesn't adapt well to having a collection specified. Can you explain more why you need `raco setup -c my-collect' instead of just `raco setup my-collect'? At Thu, 29 Nov 2012 09:35:01 +0100, Laurent wrote: > Hi, > > Doing > $ r

[racket] "raco setup -c my-collect" takes a long time

2012-11-29 Thread Laurent
Hi, Doing $ raco setup -c my-collect takes about 30s to "bootstrap from source", and it does that for each such invocation. Is it possible to reduce this time? It makes "raco setup -c" almost unusable. Laurent Racket Users list: http://lists.racket-lang.org/users