forked from coq-community/corn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
53 lines (33 loc) · 1.46 KB
/
README
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
52
53
C-CoRN, the Coq Constructive Repository at Nijmegen
---------------------------------------------------
PREREQUISITES
-------------
This version of C-CoRN is known to compile with:
- Coq 8.4pl4
- SCons 1.2
GIT CHECKOUT & SUBMODULES
-------------------------
C-CoRN depends on Math Classes, which is a library of abstract interfaces for
mathematical structures that is heavily based on Coq's new type classes.
Math Classes is contained in the C-CoRN git repository as a submodule. You can
obtain math-classes automatically by giving the --recursive option when you
clone the git repository:
git clone --recursive https://github.com/c-corn/corn.git
If you have already cloned the CoRN repository without --recursive, you can
still get the submodules with
git submodule update --init --recursive
BUILDING C-CoRN
---------------
C-CoRN uses SCons for its build infrastructure. SCons is a modern
Python-based Make-replacement.
To build C-CoRN with SCons say "scons" to build the whole library, or
"scons some/module.vo" to just build some/module.vo (and its dependencies).
In addition to common Make options like -j N and -k, SCons
supports some useful options of its own, such as --debug=time, which
displays the time spent executing individual build commands.
scons -c replaces Make clean
For more information, see the SCons documentation at
http://www.scons.org/
BUILDING DOCUMENTATION
----------------------
To build CoqDoc documentation, say "scons coqdoc".