Skip to content

Commit db5adb0

Browse files
committed
compile with rocq and fix dependencies
1 parent 0fd9b36 commit db5adb0

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Makefile.common

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
# pre-makefile::, this-clean:: and __always__:: may be extended #
77
# Additionally, the following variables may be customized: #
88
SUBDIRS?=
9-
COQBIN?=$(dir $(shell which coqtop))
10-
COQMAKEFILE?=$(COQBIN)coq_makefile
11-
COQDEP?=$(COQBIN)coqdep
9+
10+
COQBIN?=$(dir $(shell command -v coqtop || command -v rocq))
11+
COQMAKEFILE?=$(shell command -v coq_makefile || echo "$(COQBIN)rocq makefile")
12+
COQDEP?=$(shell command -v coqdep || echo "$(COQBIN)rocq dep")
1213
COQPROJECT?=_CoqProject
1314
COQMAKEOPTIONS?=
1415
COQMAKEFILEOPTIONS?=

coq-mathcomp-finmap.opam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ install: [make "install"]
2323
depends: [
2424
("coq" {>= "8.20" & < "8.21~"}
2525
| "rocq-core" {>= "9.0" | = "dev"})
26-
"coq-mathcomp-ssreflect" { (>= "2.0" & < "2.5~") | = "dev" }
26+
("coq-mathcomp-ssreflect" { >= "2.0" & < "2.4~" }
27+
|"rocq-mathcomp-ssreflect" { (>= "2.4" & < "2.5~") | = "dev" })
2728
]
2829

2930
tags: [

0 commit comments

Comments
 (0)