[racket] Goldilocks: install too big, install-plain too slow

From: Kevin Tew (tewk at cs.utah.edu)
Date: Tue Dec 4 12:03:51 EST 2012

On 12/04/2012 08:53 AM, Sam Tobin-Hochstadt wrote:
> On Wed, Nov 28, 2012 at 5:23 PM, Daniel Farina <daniel at heroku.com> wrote:
>> I have tried the install-plain make target and it is indeed much
>> smaller, but it compiles/installs very little -- no raco, and
>> apparently very little byte-compiling, because the racket REPL takes
>> an age to load -- so it's basically unworkable.
>>
>> Is there a reasonable in-between option?
> One way to get an in-between option would be to use `make
> plain-install` and then manually setup the relevant collections.
>
> Unfortunately, this is a little more inconvenient than it could be
> because `plain-install` doesn't install `raco` -- perhaps this can be
> added, or a make target could be added that did this.
>
> But even without `raco`, you should be able to run `racket -l- setup
> -D racket web-server` to just set up the `racket` and `web-server`
> collections, as an example (`-D` skips the documentation, which you
> probably don't need on Heroku).  Some simple experimentation should
> determine the right set of collections.
> --
> sam th
> samth at ccs.neu.edu
> ____________________
>    Racket Users list:
>    http://lists.racket-lang.org/users
I had to type `racket -l- setup -D -l racket web-server` to get this to 
work for me.

Kevin

Posted on the users mailing list.