[racket] Goldilocks: install too big, install-plain too slow
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