ocaml-multicore/domainslib

installation failure

progman1 opened this issue · 3 comments

I got to

opam install dune.1.9.1 domainslib

and was returned:

  - dune → ocaml < 4.09.0
      base of this switch (use `--unlock-base' to force)

with --unlock-base things really get drastic:

  ↘ downgrade ocaml-variants 4.10.0+multicore to 4.08.1+spacetime [required by ocaml]
  ↻ recompile ocaml-config   1                                    [uses ocaml-variants]
  ↘ downgrade ocaml          4.10.0 to 4.08.1                     [required by dune]
  ∗ install   dune           1.9.1
  ↻ recompile ocamlfind      1.8.1                                [uses ocaml]
  ∗ install   domainslib     0.2.0

Are you following these instructions? https://github.com/ocaml-multicore/domainslib#installation

I can't recreate this issue locally. What is the output of opam remote -v?

I thought I was, then I reviewed my history:

  579  opam repo add mcorerep https://github.com/ocaml-multicore/multicore-opam.git
  584  opam switch create mcore ocaml-variants.4.10.0+multicore --repositories=default,mcorerep

apart from the local name change I don't know where I got that!
now installed successfully. thanks for the wakeup slap!

No worries. Good that it is sorted now.