Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.28 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.28 KB

C-CoRN

The Coq Constructive Repository at Nijmegen.

Install with OPAM

Make sure that you added the Coq repository:

opam repo add coq-released https://coq.inria.fr/opam/released

and run:

opam install coq-corn

Install from source

Prerequisites

This version of C-CoRN is known to compile with:

  • Coq 8.4pl4
  • SCons 1.2 or make

Git checkout and 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.

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. Make is still supported.

Building documentation

To build CoqDoc documentation, say scons coqdoc.