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 EA48E7FACD for ; Thu, 18 Sep 2014 23:21:14 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of yotambarnoy@gmail.com) identity=pra; client-ip=209.85.217.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="yotambarnoy@gmail.com"; x-sender="yotambarnoy@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of yotambarnoy@gmail.com designates 209.85.217.172 as permitted sender) identity=mailfrom; client-ip=209.85.217.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="yotambarnoy@gmail.com"; x-sender="yotambarnoy@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-lb0-f172.google.com) identity=helo; client-ip=209.85.217.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="yotambarnoy@gmail.com"; x-sender="postmaster@mail-lb0-f172.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvQBAFhMG1TRVdmsm2dsb2JhbABghDcEgnzPHAgWAREBAQEBAQYLCwkUKoN6IhEdARseAxIIAQc3AiQBEQEFARYMGxqIBwEDEZxlgxlrizCBcoMQiTgKGScNZoZYAQUOkmiBUwWdDJNWGCmFKyEvgkoBAQE X-IPAS-Result: AvQBAFhMG1TRVdmsm2dsb2JhbABghDcEgnzPHAgWAREBAQEBAQYLCwkUKoN6IhEdARseAxIIAQc3AiQBEQEFARYMGxqIBwEDEZxlgxlrizCBcoMQiTgKGScNZoZYAQUOkmiBUwWdDJNWGCmFKyEvgkoBAQE X-IronPort-AV: E=Sophos;i="5.04,549,1406584800"; d="scan'208";a="79976547" Received: from mail-lb0-f172.google.com ([209.85.217.172]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 18 Sep 2014 23:20:58 +0200 Received: by mail-lb0-f172.google.com with SMTP id p9so1401512lbv.3 for ; Thu, 18 Sep 2014 14:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=oi6M4wdg6PxeTDjAynmh81s7lcgAg3lYx/Nx7m46vhc=; b=B/cHfrHf5e16twpXvlVTaLivwa4ZNCPHUIwb6T/6K2ONSC80C4If4ed2ZgWg8B3sCp HksGss2ZO70tiB6UiZS+Ib3z0gLgm2C/BIdrfc7KSmCqbgz+UNU6OFCXnzSjZhzzlXR8 +ZBb/+uOE/7JlAqlTdTrD/I2J8VHiT+5cmkHBTa3NYGMtMb66KEVV+Y/tRb0/vakr174 TiY+HxxqeT0GihuRd8U4DfN3938nGU3G142KNVpi1maSB8oFyIXcAgt1rtsKlmhLPu/T Uz5doEQjGxGw4pVfFI9Tblc3KListV1RuD96V1zCN/p+TsS9sGFYJpAD8dbrzbcavTLr dvnQ== X-Received: by 10.152.37.72 with SMTP id w8mr2459697laj.48.1411075257546; Thu, 18 Sep 2014 14:20:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.20.71 with HTTP; Thu, 18 Sep 2014 14:20:37 -0700 (PDT) From: Yotam Barnoy Date: Thu, 18 Sep 2014 17:20:37 -0400 Message-ID: To: Ocaml Mailing List Content-Type: multipart/alternative; boundary=089e0160c1567a3d1105035d8f3a Subject: [Caml-list] opam local switch --089e0160c1567a3d1105035d8f3a Content-Type: text/plain; charset=UTF-8 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 --089e0160c1567a3d1105035d8f3a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have a question about opam. I would like to play with ce= rtain 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 environme= nt variables, while using my regular compiler in another shell session?
If this is the way things work already, I apologize in adva= nce -- it appeared to me that running opam switch modifies some global stat= e that directly affects other pre-existing shell sessions.

-Yotam=C2=A0
--089e0160c1567a3d1105035d8f3a--