Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #45 from ocaml-multicore/merlin-installation
Browse files Browse the repository at this point in the history
merlin and ocaml-lsp installation instructions
  • Loading branch information
Sudha247 authored Jan 25, 2021
2 parents 8cc2ac0 + 932786f commit 5022d3b
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,39 @@ OPAM repo for OCaml multicore development

## Install Multicore OCaml

**`parallel_minor_gc`**

```
opam update
opam switch create 4.10.0+multicore --packages=ocaml-variants.4.10.0+multicore --repositories=multicore=git+https://github.com/ocaml-multicore/multicore-opam.git,default
```

**`no_effect_syntax`**

```
opam update
opam switch create 4.10.0+multicore+no-effect-syntax --packages=ocaml-variants.4.10.0+multicore+no-effect-syntax --repositories=multicore=git+https://github.com/ocaml-multicore/multicore-opam.git,default
```

## Installing domainslib

```
opam install dune.2.7.1 domainslib
opam install dune domainslib
```

## Install ocaml-lsp and merlin

On Visual Studio Code, it is recommended to use `ocaml-lsp-server` with [VSCode OCaml Platform](https://marketplace.visualstudio.com/items?itemName=ocamllabs.ocaml-platform)

**`parallel_minor_gc`**

```
opam install dune merlin.3.4.1 dot-merlin-reader.3.4.1 ocaml-lsp-server
```

**`no-effect-syntax`**

```
opam install dune merlin.3.4.1 dot-merlin-reader.3.4.1
opam pin add ocaml-lsp-server --repositories=default
```

0 comments on commit 5022d3b

Please sign in to comment.