Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conflicts on solvers versions outside depopt range #165

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,24 @@
(synopsis "A Front-end library for SMT solvers in OCaml")
(description "A Multi Back-end Front-end for SMT Solvers in OCaml.")
; Optional solver dependencies
; Change here sould be mirrored in "conflicts"
(depopts
(z3
(and
(>= "4.12.2")
(<= "4.13")))
(< "4.14")))
colibri2
(bitwuzla-cxx
(>= "0.4.0"))
cvc5)
(conflicts
(z3
(or
(< "4.12.2")
(>= "4.14")))
(bitwuzla-cxx
(< "0.4.0"))
)
(depends
dune
(ocaml
Expand Down
6 changes: 5 additions & 1 deletion smtml.opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ depends: [
"bisect_ppx" {with-test & >= "2.5.0"}
]
depopts: [
"z3" {>= "4.12.2" & <= "4.13"}
"z3" {>= "4.12.2" & < "4.14"}
"colibri2"
"bitwuzla-cxx" {>= "0.4.0"}
"cvc5"
]
conflicts: [
"z3" {< "4.12.2" | >= "4.14"}
"bitwuzla-cxx" {< "0.4.0"}
]
build: [
["dune" "subst"] {dev}
[
Expand Down
Loading