caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Louis Gesbert <louis.gesbert@ocamlpro.com>
To: caml-list@inria.fr, Yotam Barnoy <yotambarnoy@gmail.com>
Subject: Re: [Caml-list] opam local switch
Date: Fri, 19 Sep 2014 09:21:08 +0200	[thread overview]
Message-ID: <6787924.naamY3Ii46@agaric> (raw)
In-Reply-To: <CAN6ygOmZC8qAZk-zb4ZagZQtcufFQMQnZEWpJvme510yJc5jFA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

Le jeudi 18 septembre 2014, 17:20:37 Yotam Barnoy a écrit :
> I have a question about opam. I would like to play with certain compiler
> versions, but I don't want the switch to happen globally, because I still
> need to compile regular code. Is it possible to switch to another compiler
> locally (within a particular shell session) via environment variables,
> while using my regular compiler in another shell session?
> 
> If this is the way things work already, I apologize in advance -- it
> appeared to me that running opam switch modifies some global state that
> directly affects other pre-existing shell sessions.
> 
> -Yotam
> 
> 

This is already in our new FAQ [1] :)
We're just waiting for 1.2 to be out before we post the new doc pages, because some of it doesn't apply to the current 1.1 stable release. OPAM 1.2 is still in RC stage.


[1] 
http://opam.ocaml.org/doc/1.2/FAQ.html#CanIworkondifferentswitchesatthesametimeindifferentshells

[-- Attachment #2: Type: text/html, Size: 4341 bytes --]

  parent reply	other threads:[~2014-09-19  7:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-18 21:20 Yotam Barnoy
2014-09-18 21:24 ` Anil Madhavapeddy
2014-09-18 21:50   ` Yotam Barnoy
2014-09-18 22:28     ` Grégoire Henry
2014-09-18 22:29       ` Yotam Barnoy
2014-09-19  7:21 ` Louis Gesbert [this message]
2014-09-19  7:30   ` Gabriel Scherer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6787924.naamY3Ii46@agaric \
    --to=louis.gesbert@ocamlpro.com \
    --cc=caml-list@inria.fr \
    --cc=yotambarnoy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).