| 1 |
# This file is generated by dune, edit dune-project instead |
| 2 |
opam-version: "2.0" |
| 3 |
version: "dev" |
| 4 |
synopsis: "The Rocq Prover -- Core Binaries and Tools" |
| 5 |
description: """ |
| 6 |
The Rocq Prover is an interactive theorem prover, or proof assistant. It provides |
| 7 |
a formal language to write mathematical definitions, executable |
| 8 |
algorithms and theorems together with an environment for |
| 9 |
semi-interactive development of machine-checked proofs. |
| 10 |
|
| 11 |
Typical applications include the certification of properties of |
| 12 |
programming languages (e.g. the CompCert compiler certification |
| 13 |
project, or the Bedrock verified low-level programming library), the |
| 14 |
formalization of mathematics (e.g. the full formalization of the |
| 15 |
Feit-Thompson theorem or homotopy type theory) and teaching. |
| 16 |
|
| 17 |
This package includes the Rocq Prover core binaries, plugins, and tools, but |
| 18 |
not the vernacular standard library. |
| 19 |
|
| 20 |
Note that in this setup, Rocq needs to be started with the -boot and |
| 21 |
-noinit options, as will otherwise fail to find the regular Rocq |
| 22 |
prelude, now living in the rocq-core package.""" |
| 23 |
maintainer: [ |
| 24 |
"The Rocq development team <[email protected]>" |
| 25 |
] |
| 26 |
authors: ["The Rocq development team, INRIA, CNRS, and contributors"] |
| 27 |
license: "LGPL-2.1-only" |
| 28 |
homepage: "https://rocq-prover.org/" |
| 29 |
doc: "https://rocq-prover.org/docs/" |
| 30 |
bug-reports: "https://github.com/rocq-prover/rocq/issues" |
| 31 |
depends: [ |
| 32 |
"dune" {>= "3.8"} |
| 33 |
"ocaml" {>= "4.14.0"} |
| 34 |
"ocamlfind" {>= "1.9.1" & (>= "1.9.8" | os-family != "windows")} |
| 35 |
"zarith" {>= "1.11"} |
| 36 |
"conf-linux-libc-dev" {os = "linux"} |
| 37 |
"odoc" {with-doc} |
| 38 |
] |
| 39 |
depopts: ["rocq-native" "memprof-limits" "memtrace"] |
| 40 |
conflicts: [ |
| 41 |
"coq" {< "8.17"} |
| 42 |
"coq-core" {< "8.21"} |
| 43 |
] |
| 44 |
dev-repo: "git+https://github.com/rocq-prover/rocq.git" |
| 45 |
build: [ |
| 46 |
["dune" "subst"] {dev} |
| 47 |
[ "./configure" |
| 48 |
"-release" # -release must be the first command line argument |
| 49 |
"-relocatable" |
| 50 |
"-native-compiler" "yes" {rocq-native:installed} "no" {!rocq-native:installed} |
| 51 |
] |
| 52 |
[ |
| 53 |
"dune" |
| 54 |
"build" |
| 55 |
"-p" |
| 56 |
name |
| 57 |
"-j" |
| 58 |
jobs |
| 59 |
"--promote-install-files=false" |
| 60 |
"@install" |
| 61 |
"@runtest" {with-test} |
| 62 |
"@doc" {with-doc} |
| 63 |
] |
| 64 |
["dune" "install" "-p" name "--create-install-files" name] |
| 65 |
] |