-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[coq.dev] Attempt to split the packages.
We use the conditional setup outlined in Zulip, let's see how and if this works.
- Loading branch information
Showing
3 changed files
with
87 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
authors: "The Coq development team, INRIA, CNRS, and contributors." | ||
homepage: "https://coq.inria.fr/" | ||
bug-reports: "https://github.com/coq/coq/issues" | ||
dev-repo: "git+https://github.com/coq/coq.git" | ||
license: "LGPL-2.1-only" | ||
synopsis: "Formal proof management system" | ||
description: """ | ||
The Coq proof assistant provides a formal language to write | ||
mathematical definitions, executable algorithms, and theorems, together | ||
with an environment for semi-interactive development of machine-checked | ||
proofs. Typical applications include the certification of properties of programming | ||
languages (e.g., the CompCert compiler certification project and the | ||
Bedrock verified low-level programming library), the formalization of | ||
mathematics (e.g., the full formalization of the Feit-Thompson theorem | ||
and homotopy type theory) and teaching. | ||
""" | ||
|
||
depopts: [ | ||
"coq-native" | ||
] | ||
|
||
depends: [ | ||
"ocaml" {>= "4.05.0"} | ||
"ocamlfind" {build} | ||
"dune" {>= "2.9.1"} | ||
"conf-findutils" {build} | ||
"zarith" {>= "1.10"} | ||
] | ||
|
||
build: [ | ||
[ | ||
"./configure" | ||
"-prefix" prefix | ||
"-native-compiler" "yes" {coq-native:installed} "no" {!coq-native:installed} | ||
] | ||
[ "dune" "build" "-p" name "-j" jobs ] | ||
] | ||
|
||
url { | ||
src: "git+https://github.com/coq/coq.git#master" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
authors: "The Coq development team, INRIA, CNRS, and contributors." | ||
homepage: "https://coq.inria.fr/" | ||
bug-reports: "https://github.com/coq/coq/issues" | ||
dev-repo: "git+https://github.com/coq/coq.git" | ||
license: "LGPL-2.1-only" | ||
synopsis: "Formal proof management system" | ||
description: """ | ||
The Coq proof assistant provides a formal language to write | ||
mathematical definitions, executable algorithms, and theorems, together | ||
with an environment for semi-interactive development of machine-checked | ||
proofs. Typical applications include the certification of properties of programming | ||
languages (e.g., the CompCert compiler certification project and the | ||
Bedrock verified low-level programming library), the formalization of | ||
mathematics (e.g., the full formalization of the Feit-Thompson theorem | ||
and homotopy type theory) and teaching. | ||
""" | ||
|
||
depopts: [ | ||
"coq-native" | ||
] | ||
|
||
depends: [ | ||
"ocaml" {>= "4.05.0"} | ||
"ocamlfind" {build} | ||
"dune" {>= "2.9.1"} | ||
"conf-findutils" {build} | ||
"zarith" {>= "1.10"} | ||
"coq-core" {= version} | ||
] | ||
|
||
build: [ | ||
# This is akin to a configure step | ||
[ "sed '1 a (mode native)' theories/dune" {coq-native:installed} ] | ||
[ "dune" "build" "-p" name "-j" jobs ] | ||
] | ||
|
||
url { | ||
src: "git+https://github.com/coq/coq.git#master" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters