diff options
| author | Enrico | 2018-06-08 10:14:18 +0200 |
|---|---|---|
| committer | GitHub | 2018-06-08 10:14:18 +0200 |
| commit | 428b9330643cca6ca4069afc54923690876af918 (patch) | |
| tree | 0df02d232053a414ed19702e96e445edffb1aef4 | |
| parent | 0a0aab74bc46581f7c126c93f51b9be71cc70ec8 (diff) | |
[INSTALL] document opam --root option
| -rw-r--r-- | INSTALL.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -31,6 +31,17 @@ opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev opam install coq-mathcomp-ssreflect.dev -j3 ``` +## Compilation and installation in a dedicated OPAM root + +If you want to install the library in a sedicated environment +(lets name it `MC`) which +will remain independed from your current OPAM setup you can: +``` +opam init --root=$PWD/MC +eval `opam config env --root=$PWD/MC` +``` +After that the instructions above apply. + ## Compilation and installation with make The instructions assume you are in the `mathcomp` directory and that |
