Skip to content

Commit fe01c09

Browse files
authored
Merge pull request #4 from DistributedComponents/coq-8.7-opam
update OPAM-related definitions, makefile and Travis tasks for Coq 8.7
2 parents e1335e8 + 5a4a1b2 commit fe01c09

File tree

12 files changed

+61
-57
lines changed

12 files changed

+61
-57
lines changed

.travis-ci.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ opam init --yes --no-setup
44
eval $(opam config env)
55

66
opam repo add coq-released https://coq.inria.fr/opam/released
7+
opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev
8+
opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev
79

8-
opam pin add coq $COQ_VERSION --yes --verbose
10+
opam pin add coq $COQ_VERSION --kind=version --yes --verbose
11+
opam pin add coq-mathcomp-ssreflect $SSREFLECT_VERSION --kind=version --yes --verbose
912

1013
opam pin add Heaps --yes --verbose
1114
opam pin add Core --yes --verbose

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ addons:
99
- aspcud
1010
env:
1111
matrix:
12-
- COQ_VERSION=8.6.1
13-
- COQ_VERSION=8.6
12+
- COQ_VERSION=8.7.0 SSREFLECT_VERSION=1.6.4
1413
script: bash -ex .travis-ci.sh
1514
sudo: false
1615
notifications:

Core/Make

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1-
State.v
2-
Freshness.v
3-
Protocols.v
4-
EqTypeX.v
5-
DepMaps.v
6-
StatePredicates.v
7-
NewStatePredicates.v
8-
Worlds.v
9-
NetworkSem.v
10-
Rely.v
11-
Actions.v
12-
Injection.v
13-
InductiveInv.v
14-
Process.v
15-
Always.v
16-
HoareTriples.v
17-
InferenceRules.v
18-
While.v
19-
DiSeLExtraction.v
1+
-Q . DiSeL.Core
2+
-arg "-w -notation-overridden,-local-declaration,-redundant-canonical-projection,-projection-no-head-constant"
203

21-
-R . DiSeL.Core
4+
./State.v
5+
./Freshness.v
6+
./Protocols.v
7+
./EqTypeX.v
8+
./DepMaps.v
9+
./StatePredicates.v
10+
./NewStatePredicates.v
11+
./Worlds.v
12+
./NetworkSem.v
13+
./Rely.v
14+
./Actions.v
15+
./Injection.v
16+
./InductiveInv.v
17+
./Process.v
18+
./Always.v
19+
./HoareTriples.v
20+
./InferenceRules.v
21+
./While.v
22+
./DiSeLExtraction.v

Core/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ install: Makefile.coq
1111
clean:
1212
if [ -f Makefile.coq ]; then \
1313
$(MAKE) -f Makefile.coq clean; fi
14-
rm -f Makefile.coq
14+
rm -f Makefile.coq Makefile.coq.conf
1515

1616
Makefile.coq: Make
17-
coq_makefile -arg -w -arg -notation-overridden -f Make -o Makefile.coq
17+
coq_makefile -f Make -o Makefile.coq
1818

1919
.PHONY: default clean install

Core/opam

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
opam-version: "1.2"
2-
name: "coq-disel-core"
2+
name: "disel-core"
33
version: "dev"
44
maintainer: "palmskog@gmail.com"
55

66
homepage: "https://github.com/DistributedComponents/disel"
77
dev-repo: "https://github.com/DistributedComponents/disel.git"
88
bug-reports: "https://github.com/DistributedComponents/disel/issues"
9-
license: "Proprietary"
9+
license: "BSD2"
1010

1111
build: [ make "-j" "%{jobs}%" ]
1212
install: [ make "install" ]
1313
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/DiSeL/Core'" ]
1414
depends: [
15-
"coq" { ((>= "8.6" & < "8.7~") | (= "dev")) }
16-
"coq-mathcomp-ssreflect" { ((>= "1.6.1" & < "1.7~") | (= "dev")) }
17-
"coq-disel-heaps" {= "dev"}
15+
"coq" { ((>= "8.7" & < "8.8~") | (= "dev")) }
16+
"coq-mathcomp-ssreflect" { ((>= "1.6.2" & < "1.7~") | (= "dev")) }
17+
"disel-heaps" {= "dev"}
1818
]
1919

2020
tags: [

Examples/Make

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
SeqLib.v
1+
-Q . DiSeL.Examples
2+
-arg "-w -notation-overridden,-local-declaration,-redundant-canonical-projection,-projection-no-head-constant"
3+
4+
./SeqLib.v
25
Greeter/Greeter.v
36
Querying/QueryProtocol.v
47
Querying/QueryHooked.v
@@ -18,5 +21,3 @@ TwoPhaseCommit/TwoPhaseInductiveProof.v
1821
Querying/QueryPlusTPC.v
1922
LockResource/LockProtocol.v
2023
LockResource/ResourceProtocol.v
21-
22-
-R . DiSeL.Examples

Examples/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ install: Makefile.coq
1111
clean:
1212
if [ -f Makefile.coq ]; then \
1313
$(MAKE) -f Makefile.coq clean; fi
14-
rm -f Makefile.coq
14+
rm -f Makefile.coq Makefile.coq.conf
1515

1616
Makefile.coq: Make
17-
coq_makefile -arg -w -arg -notation-overridden -f Make -o Makefile.coq
17+
coq_makefile -f Make -o Makefile.coq
1818

1919
.PHONY: default clean install

Heaps/Make

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
coding.v
2-
domain.v
3-
finmap.v
4-
heap.v
5-
idynamic.v
6-
ordtype.v
7-
pcm.v
8-
pperm.v
9-
pred.v
10-
prelude.v
11-
spcm.v
12-
unionmap.v
1+
-Q . DiSeL.Heaps
2+
-arg "-w -notation-overridden,-local-declaration,-redundant-canonical-projection,-projection-no-head-constant"
133

14-
-R . DiSeL.Heaps
4+
./coding.v
5+
./domain.v
6+
./finmap.v
7+
./heap.v
8+
./idynamic.v
9+
./ordtype.v
10+
./pcm.v
11+
./pperm.v
12+
./pred.v
13+
./prelude.v
14+
./spcm.v
15+
./unionmap.v

Heaps/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ install: Makefile.coq
1111
clean:
1212
if [ -f Makefile.coq ]; then \
1313
$(MAKE) -f Makefile.coq clean; fi
14-
rm -f Makefile.coq
14+
rm -f Makefile.coq Makefile.coq.conf
1515

1616
Makefile.coq: Make
17-
coq_makefile -arg -w -arg -notation-overridden -f Make -o Makefile.coq
17+
coq_makefile -f Make -o Makefile.coq
1818

1919
.PHONY: default clean install

Heaps/opam

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
opam-version: "1.2"
2-
name: "coq-disel-heaps"
2+
name: "disel-heaps"
33
version: "dev"
44
maintainer: "palmskog@gmail.com"
55

66
homepage: "https://github.com/DistributedComponents/disel"
77
dev-repo: "https://github.com/DistributedComponents/disel.git"
88
bug-reports: "https://github.com/DistributedComponents/disel/issues"
9-
license: "Proprietary"
9+
license: "BSD2"
1010

1111
build: [ make "-j" "%{jobs}%" ]
1212
install: [ make "install" ]
1313
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/DiSeL'" ]
1414
depends: [
15-
"coq" { ((>= "8.6" & < "8.7~") | (= "dev")) }
16-
"coq-mathcomp-ssreflect" { ((>= "1.6.1" & < "1.7~") | (= "dev")) }
15+
"coq" { ((>= "8.7" & < "8.8~") | (= "dev")) }
16+
"coq-mathcomp-ssreflect" { ((>= "1.6.2" & < "1.7~") | (= "dev")) }
1717
]
1818

1919
tags: [

0 commit comments

Comments
 (0)