Re: [racket-users] How to run multiple Racket installations?

2020-05-09 Thread Simon Schlee
You could use the nix package manager https://nixos.org/nix/ it runs on 
many linux platforms and macOS.

It has predefined racket and racket-minimal packages, you can define 
derived versions of those packages and adapt them to your needs.
It allows you to easily switch between different packages, you could e.g. 
use different profiles within nix to manage the different installations or 
create a own/private package for each one.

I just started using nix, but so far I would recommend it, it is refreshing 
to be able to undo your changes by just activating a previous 
state/generation.
https://pyvideo.org/europython-2014/rethinking-packaging-development-and-deployment.html

Simon

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/fa21bcff-7aa3-4e0a-bb4a-cd4aa561e302%40googlegroups.com.


Re: [racket-users] How to run multiple Racket installations?

2020-05-08 Thread James Platt
Would virtual machines be an option?  You do have to have a pretty good host 
machine with lots of RAM.  I do this mainly to have different development and 
testing environments.  It works pretty smoothly on my Mac Pro, with VirtualBox 
for Linux and Windows guest machines and VMWare for macOS guests.  

James

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/0BB22130-12D1-4FF3-9BB1-A79A595E8AF6%40biomantica.com.


Re: [racket-users] How to run multiple Racket installations?

2020-05-08 Thread Matthew Flatt
At Fri, 8 May 2020 01:55:17 -0700 (PDT), zeRusski wrote:
> First, does that even work? I noticed that both of them install packages 
> into ~/Library/Racket/development/ for me. Are both builds so compatible I 
> don't need to worry about packages stepping on each others toes i.e. 
> compiled with one but executed with the other?

No, the builds will collide there.

The intent of development mode is that you install further packages
"installation" scope, etc., to avoid contention at
"~/Library/Racket/development".

But if you need the "~/Library/Racket" space, there are tools like the
one Sam suggested, and there's a specific configuration for this...

> I think I'd rather have the two systems completely separated so I can
> actually compare oranges to oranges. Is there a way to guarantee
> that?

You can use something like

 raco pkg config -u --set name other-development

to give one of your development builds a different name. In this case,
that build would use "~/Library/Racket/other-development".

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/5eb54e52.1c69fb81.8e6d6.2dbbSMTPIN_ADDED_MISSING%40gmr-mx.google.com.


Re: [racket-users] How to run multiple Racket installations?

2020-05-08 Thread Sam Tobin-Hochstadt
This is the tooling I use: https://github.com/takikawa/racket-dev-goodies/

Note that it works primarily with "in-place" installations.

Sam

On Fri, May 8, 2020, 4:55 AM zeRusski  wrote:

> I have two builds of Racket on my local machine. Racket CS resides in one
> directory and was built with `RACKETCS_SUFFIX=""` and stardard Racket also
> built from source in a separate directory. Normally I have my .bashrc setup
> PATH as needed to use e.g. Racket CS. I ran into a problem with an upstream
> package which maybe FFI related, so now I want to test it against standard
> Racket build so I switch over the PATH and run it with non-cs `raco` and
> `racket`.
>
> First, does that even work? I noticed that both of them install packages
> into ~/Library/Racket/development/ for me. Are both builds so compatible I
> don't need to worry about packages stepping on each others toes i.e.
> compiled with one but executed with the other? I think I'd rather have the
> two systems completely separated so I can actually compare oranges to
> oranges. Is there a way to guarantee that? I don't have a mental model of
> having two builds like this.
>
> How do you run and test multiple builds? Is there a good setup I can steal
> please?
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/195b0260-19f2-45b2-a36d-4edc344fef87%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAK%3DHD%2Bbx08tU1FfVpgCefk_i-_8RXKpqvim8HGtWxCfmanFYnQ%40mail.gmail.com.