From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 238827FACD for ; Fri, 19 Sep 2014 09:21:13 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=pra; client-ip=212.227.126.130; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=mailfrom; client-ip=212.227.126.130; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mout.kundenserver.de) identity=helo; client-ip=212.227.126.130; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="postmaster@mout.kundenserver.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnsDAHfYG1TU436Cm2dsb2JhbABggkeBGVcBhS7EJYMwhBsBgQoWAREBAQEBAQYLCwkUKoQEAQEDAXQKCwshJQ8BRwYBiEgMCcI9AReJeYVLOoRLBYsEh02DNIhnhWSRZGoBAYJIAQEB X-IPAS-Result: AnsDAHfYG1TU436Cm2dsb2JhbABggkeBGVcBhS7EJYMwhBsBgQoWAREBAQEBAQYLCwkUKoQEAQEDAXQKCwshJQ8BRwYBiEgMCcI9AReJeYVLOoRLBYsEh02DNIhnhWSRZGoBAYJIAQEB X-IronPort-AV: E=Sophos;i="5.04,553,1406584800"; d="scan'208,217";a="80013108" Received: from mout.kundenserver.de ([212.227.126.130]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Sep 2014 09:21:12 +0200 Received: from agaric.localnet (jua06-3-88-189-115-104.fbx.proxad.net [88.189.115.104]) by mrelayeu.kundenserver.de (node=mreue001) with ESMTP (Nemesis) id 0MazIw-1XjeSy0U3O-00KTfJ; Fri, 19 Sep 2014 09:21:10 +0200 From: Louis Gesbert To: caml-list@inria.fr, Yotam Barnoy Date: Fri, 19 Sep 2014 09:21:08 +0200 Message-ID: <6787924.naamY3Ii46@agaric> Organization: OCamlPro User-Agent: KMail/4.14 (Linux/3.14-2-amd64; KDE/4.14.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart11203031.zcfvBcSqQm" Content-Transfer-Encoding: 7Bit X-Provags-ID: V02:K0:vhltBn+0JnXsX178YhrtJkdTAjzfM0KcrBTpxJBvyzZ HOkLln91UarBGGhWIXEUiojFvRU5zIt+9uqTVoGe5CE3baaJ1P qYtiTffbOP7e7vcz47lc4HVh2xQIK+5/tu1G2KfgnRnrbvsojH 2aP6oXTh1KcwsVG4ytTDPV+IQSB5ViUeNFZCuG25JD9mLv7Wsy XPqVvrEZ6iOPQT0ZIUFtnpq9sixhkvYwQQdqNoCBLYQlf/J/p0 NJJz2Lom7A0tahL9upTdFABFM4lcjtDI634K9nweTZb6trAQt7 G1O+7NHKNaQ+FoQK766EZDBsbEFGi0ExDRwVBs3NhTe1wj8qk6 yi5dOYSURgyUwcpq8wC8= X-UI-Out-Filterresults: notjunk:1; X-Validation-by: louis.gesbert@ocamlpro.com Subject: Re: [Caml-list] opam local switch This is a multi-part message in MIME format. --nextPart11203031.zcfvBcSqQm Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Le jeudi 18 septembre 2014, 17:20:37 Yotam Barnoy a =E9crit : > 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? >=20 > 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. >=20 > -Yotam >=20 >=20 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, beca= use some of it doesn't apply to the current 1.1 stable release. OPAM 1.2 is= still in RC stage. [1]=20 http://opam.ocaml.org/doc/1.2/FAQ.html#CanIworkondifferentswitchesatthesame= timeindifferentshells --nextPart11203031.zcfvBcSqQm Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"

Le jeudi 18= septembre 2014, 17:20:37 Yotam Barnoy a =E9crit=A0:

> I have= a question about opam. I would like to play with certain compiler

> versio= ns, but I don't want the switch to happen globally, because I still

> need t= o compile regular code. Is it possible to switch to another compiler

> locall= y (within a particular shell session) via environment variables,

> while = using my regular compiler in another shell session?

>

> If thi= s is the way things work already, I apologize in advance -- it

> appear= ed to me that running opam switch modifies some global state that

> direct= ly affects other pre-existing shell sessions.

>

> -Yotam=

>

>

&nb= sp;

This is alr= eady 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 R= C stage.

&nb= sp;

&nb= sp;

[1]

http://opam= .ocaml.org/doc/1.2/FAQ.html#CanIworkondifferentswitchesatthesametimeindiffe= rentshells

= --nextPart11203031.zcfvBcSqQm--