File tree Expand file tree Collapse file tree 3 files changed +53
-14
lines changed Expand file tree Collapse file tree 3 files changed +53
-14
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,21 @@ jobs:
32
32
opam_file : ' coq-bignums.opam'
33
33
custom_image : ${{ matrix.image }}
34
34
install : |
35
- startGroup "Install coq and dependencies "
35
+ startGroup "Install"
36
36
sudo apt-get update -y -q
37
37
opam remove -y coq-bignums || true # remove coq-bignums if ever in image
38
38
opam repository add --all-switches --set-default coq-extra-dev https://coq.inria.fr/opam/extra-dev # docker-coq
39
39
opam repository add --all-switches --set-default coq-core-dev https://coq.inria.fr/opam/core-dev # docker-coq
40
40
opam pin add -n -y -k version coq ${{ matrix.coq_version }} # docker-coq
41
- opam pin add -n -y -k path $PACKAGE.dev $WORKDIR
41
+ opam pin add -n -y -k path rocq-bignums.dev $WORKDIR
42
+ opam pin add -n -y -k path coq-bignums.dev $WORKDIR
42
43
opam update -y
43
- opam install --confirm-level=unsafe-yes -j 2 $PACKAGE --deps-only
44
+ opam install --confirm-level=unsafe-yes -j 2 rocq-bignums --ignore-constraints-on=dune
45
+ opam install --confirm-level=unsafe-yes -j 2 coq-bignums --ignore-constraints-on=dune
46
+ endGroup
47
+ script : |
48
+ startGroup "Post install"
49
+ opam list
44
50
endGroup
45
51
export : ' OPAMWITHTEST'
46
52
env :
Original file line number Diff line number Diff line change @@ -7,19 +7,10 @@ dev-repo: "git+https://github.com/coq-community/bignums.git"
7
7
bug-reports: "https://github.com/coq-community/bignums/issues"
8
8
license: "LGPL-2.1-only"
9
9
10
- synopsis: "Bignums, the Coq library of arbitrarily large numbers"
11
- description: """
12
- This Coq library provides BigN, BigZ, and BigQ that used to
13
- be part of the standard library."""
10
+ synopsis: "Compatibility wrapper for rocq-bignums"
14
11
15
- build: [make "-j%{jobs}%"]
16
- install: [
17
- [make "install"]
18
- [make "-C" "tests" "-j%{jobs}%"] {with-test}
19
- ]
20
12
depends: [
21
- "ocaml"
22
- "rocq-core" {= "dev"}
13
+ "rocq-bignums" {= version}
23
14
"coq-stdlib"
24
15
]
25
16
Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+
3
+ version: "dev"
4
+
5
+ homepage: "https://github.com/coq-community/bignums"
6
+ dev-repo: "git+https://github.com/coq-community/bignums.git"
7
+ bug-reports: "https://github.com/coq-community/bignums/issues"
8
+ license: "LGPL-2.1-only"
9
+
10
+ synopsis: "Bignums, the Rocq library of arbitrarily large numbers"
11
+ description: """
12
+ This Rocq library provides BigN, BigZ, and BigQ that used to
13
+ be part of the standard library."""
14
+
15
+ build: [make "-j%{jobs}%"]
16
+ install: [
17
+ [make "install"]
18
+ [make "-C" "tests" "-j%{jobs}%"] {with-test}
19
+ ]
20
+ depends: [
21
+ "ocaml"
22
+ "rocq-core" {= "dev"}
23
+ "rocq-stdlib"
24
+ ]
25
+
26
+ tags: [
27
+ "category:Miscellaneous/Coq Extensions"
28
+ "category:Mathematics/Arithmetic and Number Theory/Number theory"
29
+ "category:Mathematics/Arithmetic and Number Theory/Rational numbers"
30
+ "keyword:integer numbers"
31
+ "keyword:rational numbers"
32
+ "keyword:arithmetic"
33
+ "keyword:arbitrary precision"
34
+ "logpath:Bignums"
35
+ ]
36
+ authors: [
37
+ "Laurent Théry"
38
+ "Benjamin Grégoire"
39
+ "Arnaud Spiwack"
40
+ "Evgeny Makarov"
41
+ "Pierre Letouzey"
42
+ ]
You can’t perform that action at this time.
0 commit comments