-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
79 lines (78 loc) · 2.23 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
opam-version: "2.0"
maintainer: "Maël Valais <mael.valais@gmail.com>"
authors: ["Maël Valais <mael.valais@gmail.com>" "Olivier Lezaud"]
homepage: "http://touist.github.io"
bug-reports: "https://github.com/touist/touist/issues"
license: "MIT"
dev-repo: "git+https://github.com/touist/touist.git"
build: [
[
"ocaml"
"setup.ml"
"-configure"
"--prefix"
prefix
"--%{yices2:enable}%-yices2"
]
["ocaml" "setup.ml" "-build"]
[
"ocaml"
"setup.ml"
"-configure"
"--enable-tests"
"--%{yices2:enable}%-yices2"
] {with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
"ocaml" "%{etc}%/touist/setup.ml" "-C" "%{etc}%/touist" "-uninstall"
]
depends: [
"ocaml" {>= "4.01.0" & < "5.0.0"}
"cppo" {build}
"cppo_ocamlbuild" {build}
"fileutils" {build & >= "0.4.0"}
"menhir" {build & >= "20151023"}
"minisat" {build & < "0.6"}
"ocamlbuild" {build}
"ocamlfind" {build}
"ounit" {with-test & < "2.2.6"}
]
depopts: "yices2"
conflicts: [
"yices2" {< "0.0.2"}
]
post-messages: [
"
Touist built without yices2 support.
To enable the SMT solver (yices2), please install yices2 with the command:
opam install yices2
"
{success & !yices2:installed}
"
Touist built with yices2 support.
**Yices2 is free [only] for non-commercial use**
License terms: http://yices.csl.sri.com/yices-newnewlicense.html
"
{success & yices2:installed}
]
synopsis: "The solver for the Touist language"
description: """
The Touist language is a friendly language for writing propositional
logic and logic on real and integers (SMT). This language aims to
formalize real-life problems (e.g., the sudoku can be solved in a few
lines). Touist embeds the minisat solver (for propositional logic) and
the yices2 solver (optional, for SMT logic). It can also generate the
DIMACS, SMT2 and latex formats from you touist file. To use the SMT
solver, install yices2 with
opam install yices2"""
url {
src: "https://github.com/touist/touist/archive/v3.1.0.tar.gz"
checksum: [
"sha256=1357ca4927260b64f12d2b823e1629ef4669d51992df1bb31d2bd8f6e4207c4f"
"md5=b8dd0572f84baaf7eb1f191f0bb9a208"
]
}