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 will work for you, rather than against you. All this assumes you are using 5.3.1, as 5.3 predated PLTCOMPILEDROOTS.<br>
<div class="gmail_extra"><br clear="all">Carl Eastlund<br>
<br><br><div class="gmail_quote">On Thu, Nov 29, 2012 at 7:34 AM, Laurent <span dir="ltr"><<a href="mailto:laurent.orseau@gmail.com" target="_blank">laurent.orseau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Because x11-racket compilation depends on an environment variable to decide if it should compile with debug info or not.<br>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?<br>It seems that `raco setup' does not recompile if the source have not changed (based on a hash I presume, since touching the files does not force recompilation either).<br>The `--force' option does not do what I want either it seems.<br>
<br>Or maybe there is a better way to do that?<span class="HOEnZb"><font color="#888888"><br><br>Laurent</font></span><div class="HOEnZb"><div class="h5"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 29, 2012 at 1:22 PM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">`raco setup -c' is intended to reset a whole installation, and so it<br>
doesn't adapt well to having a collection specified.<br>
<br>
Can you explain more why you need `raco setup -c my-collect' instead of<br>
just `raco setup my-collect'?<br>
<div><div><br>
At Thu, 29 Nov 2012 09:35:01 +0100, Laurent wrote:<br>
> Hi,<br>
><br>
> Doing<br>
> $ raco setup -c my-collect<br>
> takes about 30s to "bootstrap from source", and it does that for each such<br>
> invocation.<br>
><br>
> Is it possible to reduce this time? It makes "raco setup -c" almost<br>
> unusable.<br>
><br>
> Laurent<br>
</div></div>> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br></div>
</div></div><br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>