-
Notifications
You must be signed in to change notification settings - Fork 21
/
INSTALL
51 lines (39 loc) · 1.68 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Compilation and installation procedure using OPAM
-------------------------------------------------
Requirements:
- Opam (https://opam.ocaml.org/)
Procedure:
- step 1/2: opam repo add coq-released https://coq.inria.fr/opam/released
or opam update # if repository coq-released already added
- step 2/2: opam install --jobs=N coq-color
Compilation time: about 6'.
Remark: to use a CoLoR file in your development, you need to prefix it
with CoLoR and its complete path from the root directory of CoLoR. For
instance, for LogicUtil, you need to write CoLoR.Util.Logic.LogicUtil.
Enjoy!
Self compilation and installation
---------------------------------
Requirements:
- UNIX-like operating system (including Cygwin)
- GNU find version 4.7.0 (http://www.gnu.org/software/findutils/findutils.html)
- GNU make version 4.1 (http://www.gnu.org/software/make/)
- Coq >= 8.12 (http://coq.inria.fr/)
- coq-bignums >= 8.12 (https://github.com/coq/bignums)
Procedure for installing CoLoR in Coq default directory for user contributions:
- step 1/2: make [-j N]
- step 2/2: make install
Procedure for installing CoLoR in $dir:
- step 1/3: make [-j N]
- step 2/3: DSTROOT=$dir make install
- step 3/3: add in your _CoqProject file the following option:
-R $dir CoLoR
or add in your ~/.coqrc file the following line:
Add Rec LoadPath "$dir" as CoLoR.
Procedure for compiling the html documentation:
- step 1/1: make doc
(the starting file is doc/main.html)
Procedure for compiling the TAGS file:
- step 1/1: make tags
This requires 'coqtags' from ProofGeneral (http://proofgeneral.inf.ed.ac.uk/).
If you encounter any problem, send a mail to Frédéric Blanqui