forked from SRI-CSL/yices2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
136 lines (86 loc) · 3.57 KB
/
INSTALL
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
======================================================================
The Yices SMT Solver. Copyright 2017 SRI International.
Yices is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Yices is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Yices. If not, see <http://www.gnu.org/licenses/>.
======================================================================
CONTENT
-------
This distribution includes the source of Yices, documentation,
tests, and examples.
Yices 2 is developed by Bruno Dutertre, Dejan Jovanovic, and Ian Mason
at the Computer Science Laboratory, SRI International. To contact us,
report a bug, or to get more information about Yices, please visit our
website at http://yices.csl.sri.com.
PREREQUISITES
-------------
To build Yices from the source, you need:
- GCC version 4.0.x or newer (or clang 3.0 or newer)
- gperf version 3.0 or newer
- the GMP library version 4.1 or newer
+ other standard tools: make (gnumake is required), sed, etc.
To build the manual, you also need:
- a latex installation
- the latexmk tool
To build the on-line documentation, you need to install the Sphinx
python package. The simplest method is:
sudo easy_install -U Sphinx
Sphinx 1.3.x or better is needed.
QUICK INSTALLATION
------------------
Do this:
autoconf
./configure
make
sudo make install
This will install binaries and libraries in /usr/local/
You can change the installation location by giving option
--prefix=... to the ./configure script.
For more explanations, please check doc/COMPILING.
SUPPORT FOR NON-LINEAR ARITHMETIC
---------------------------------
Yices supports non-linear real and integer arithmetic, but this is not
enabled by default. If you want non-linear arithmetic, follow these
instructions:
1) Install SRI's library for polynomial manipulation. It's available
on github (https://github.com/SRI-CSL/libpoly).
2) After you've installed libpoly, add option --enable-mcsat to
the configure command. In details, type this in the toplevel
Yices directory:
autoconf
./configure --enable-mcsat
make
sudo make install
You may need to provide LDFLAGS/CPPFLAGS if ./configure fails to
find the libpoly library. Other options may be useful too. Try
./configure --help to see what's there.
WINDOWS BUILDS
--------------
We recommend compiling using Cygwin. If you want a version that works
natively on Windows (i.e., does not depend on the Cygwin DLLs), you
can compile from Cygwin using the MinGW cross-compilers. This is
explained in doc/COMPILING.
DOCUMENTATION
-------------
To build the manual from the source, type
make doc
This will build ./doc/manual/manual.pdf.
Other documentation is in the ./doc directory:
- doc/COMPILING explains the compilation process and options in detail.
- doc/NOTES gives an overview of the source code.
- doc/YICES-LANGUAGE explains the syntax of the Yices language, and
describes commands, functions, and heuristic parameters.
To build the Sphinx documentation:
cd doc/sphinx
make html
This will build the documentation in build/html (within directory
doc/sphinx). You can also do:
make epub
and you'll have the doc in build/epub/Yices.ebup.