caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Kenichi Asai <asai@is.ocha.ac.jp>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Local switch using opam 2
Date: Wed, 10 Apr 2019 11:07:54 +0200	[thread overview]
Message-ID: <CAPFanBF=A589DG_OX0fZOUK9ev5-5SyF1jQvE5viCQCt7quLfg@mail.gmail.com> (raw)
In-Reply-To: <20190410003501.GA68405@pllab.is.ocha.ac.jp>

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

Dear Kenichi,

Our short-term plan is to merge opam file in the OCaml compiler
distribution so that "opam pin ." or "opam install ." or "opam switch
create ." works as for any other opam packages. There is an in-progress
proposal by Leo White in https://github.com/ocaml/ocaml/pull/2207 ; before
that gets finished and integrated, please feel free to download the patch
proposed and use it locally.

On Wed, Apr 10, 2019 at 2:35 AM Kenichi Asai <asai@is.ocha.ac.jp> wrote:

> I want to create a local switch for a particular version of OCaml
> with my own patch applied using opam 2.  For opam 1.2.2, I did the
> following rather low-level thing:
>
> - create a directory: ~/.opam/compilers/4.04.0/4.04.0+my-ocaml
> - place two files in this directory:
>   4.04.0+type-debugger.comp, containing where opam can find my own patch
>   4.04.0+type-debugger.descr, with a description of the compiler
> - add an entry to ~/.opam/repo/compiler-index:
>   4.04.0+my-ocaml default 4.04.0/4.04.0+my-ocaml
>
> and then execute opam switch 4.04.0+my-ocaml.  Can I do the similar
> thing in opam 2?  Thank you in advance for any info.
>
> --
> Kenichi Asai
>

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

  reply	other threads:[~2019-04-10  9:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10  0:35 Kenichi Asai
2019-04-10  9:07 ` Gabriel Scherer [this message]
2019-04-13 11:15   ` Kenichi Asai

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='CAPFanBF=A589DG_OX0fZOUK9ev5-5SyF1jQvE5viCQCt7quLfg@mail.gmail.com' \
    --to=gabriel.scherer@gmail.com \
    --cc=asai@is.ocha.ac.jp \
    --cc=caml-list@inria.fr \
    /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).