Does it work to set PLTCOMPILEDROOTS so that it's used by version 6.1,
while version 5.2.1 would still read and write files at the default
location?

The documentation now tracks changes since v6.0, while changes relative
to previous versions are recorded separately (and less usefully) in the
release notes.

At Tue, 6 Jan 2015 11:46:11 -0800, Dan Liebgold wrote:
> That method isn't available in 5.2.1, unfortunately. Oh, and wishlist item:
> the reference docs specify the version the function was introduced in.
> 
> On Tue, Jan 6, 2015 at 11:39 AM, Matthew Flatt <mfl...@cs.utah.edu> wrote:
> 
> > You probably want to set `current-compiled-file-roots`, which can be
> > initialized by the `PLTCOMPILEDROOTS` environment variable, instead.
> >
> > At Tue, 6 Jan 2015 11:27:35 -0800, Dan Liebgold wrote:
> > > Hmmm... so this should be as easy to implement as:
> > >
> > >   (use-compiled-file-paths (list (build-path "compiled" (version))))
> > >
> > > Right?  Trying it out now.
> > >
> > > Dan
> > >
> > > On Tue, Jan 6, 2015 at 11:14 AM, Neil Van Dyke <n...@neilvandyke.org>
> > wrote:
> > >
> > > > Dan Liebgold wrote on 01/06/2015 02:00 PM:
> > > >
> > > >> What is a straightforward way to designate the "compiled" directory to
> > > >> look for zo files in that can be based on the Racket version?  I'd
> > like to
> > > >> have Racket 5.2.1 and 6.1 running in parallel to aid in upgrading our
> > > >> version.
> > > >> Thanks!
> > > >>
> > > >
> > > > I'd like for this to be the default behavior for Racket.
> > > >
> > > > One possible way: Insert a directory level between the `compiled`
> > > > directory and its contents, with the directory named with the Racket
> > > > version number with which the code is compiled.  Only that Racket
> > version
> > > > will run that compiled code.
> > > >
> > > > (When I've been using Racket version A to run a code tree, and then use
> > > > Racket version B with the same code tree, I don't mind waiting for a
> > > > recompile of the code tree, and I'd really prefer it not disturb the
> > code
> > > > compiled with Racket version A.  I also don't mind cluttering disk
> > space
> > > > with compiled code for Racket versions that I no longer use; I can
> > always
> > > > make a script to clean those up.)
> > > >
> > > > Neil V.
> > > >
> > > >
> > >
> > >
> > > --
> > > Dan Liebgold    [dan.liebg...@gmail.com]
> > > _________________________
> > >   Racket Developers list:
> > >   http://lists.racket-lang.org/dev
> >
> 
> 
> 
> -- 
> Dan Liebgold    [dan.liebg...@gmail.com]
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to