Debian Codegraph @

config/coq_config.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 (** If available (OCaml >=5.4), [Gc.ramp_up] dropping the [suspended_collection_work] data.
12 Otherwise just call the given function. *)
13 val gc_ramp_up : (unit -> 'a) -> 'a
14
15 type relocatable_path =
16 | NotRelocatable of string (* absolute path *)
17 | Relocatable of string (* relative to the inferred prefix *)
18
19 (* The fields below are absolute paths *)
20 val install_prefix : relocatable_path (* Install prefix passed by the user *)
21 val coqlib : relocatable_path (* where the std library is installed *)
22 val configdir : relocatable_path (* where configuration files are installed *)
23 val datadir : relocatable_path (* where extra data files are installed *)
24 val docdir : relocatable_path (* where the doc is installed *)
25
26 (* The fields below are paths relative to the installation prefix *)
27 (* However, if an absolute path, it means discarding the actual prefix *)
28 val coqlibsuffix : string (* std library relative to installation prefix *)
29 val configdirsuffix : string (* config files relative to installation prefix *)
30 val datadirsuffix : string (* data files relative to installation prefix *)
31 val docdirsuffix : string (* doc directory relative to installation prefix *)
32
33 (* used in envars (likely for coq_makefile) *)
34 val ocamlfind : string
35
36 (* used in envars for coq_makefile *)
37 val caml_flags : string (* arguments passed to ocamlc (ie. CAMLFLAGS) *)
38
39 (* Used in rocqide *)
40 val arch : string (* architecture *)
41
42 (* dubious use in envars, use in coqmakefile *)
43 val arch_is_win32 : bool
44
45 val version : string (* version number of Rocq *)
46 val caml_version : string (* OCaml version used to compile Rocq *)
47 val caml_version_nums : int list (* OCaml version used to compile Rocq by components *)
48 val vo_version : int32
49
50 (* used in envars for coq_makefile *)
51 val all_src_dirs : string list
52
53 (* Used in micromega *)
54 val exec_extension : string (* "" under Unix, ".exe" under MS-windows *)
55
56 (* Used in rocqide *)
57 val browser : string
58 (** default web browser to use, may be overridden by environment
59 variable COQREMOTEBROWSER *)
60
61 (* used in coqdep *)
62 val has_natdynlink : bool
63
64 (* used in coqdoc *)
65 val wwwcoq : string
66 val wwwstdlib : string
67
68 (* used in rocqide *)
69 val wwwrefman : string
70
71 (* for error reporting *)
72 val wwwbugtracker : string
73
74 val bytecode_compiler : bool
75 type native_compiler = NativeOff | NativeOn of { ondemand : bool }
76 val native_compiler : native_compiler