3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

Update installation instructions in the README file

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-12-26 17:37:18 -08:00
parent 1b35668eb7
commit 6e468e84e7

18
README
View file

@ -17,22 +17,24 @@ Execute:
make make
sudo make install sudo make install
It will install z3 executable at /usr/bin, libraries at /usr/lib, and include files at /usr/include. By default, it will install z3 executable at PREFIX/bin, libraries at PREFIX/lib, and include files at PREFIX/include,
You can change the installation p where PREFIX is the installation prefix used for installing Python in your system.
It is usually /usr for most Linux distros, and /usr/local for FreeBSD.
Use the following commands to install in a different prefix (e.g., /home/leo)
Use the following commands to install in a different prefix (e.g., /home/leo), and the Z3 python python scripts/mk_make.py --prefix=/home/leo
bindings in a different python package directory.
python scripts/mk_make.py --prefix=/home/leo --pydir=/home/leo/python
cd build cd build
make make
sudo make install make install
In this example, the Z3 Python bindings will be stored at /home/leo/lib/pythonX.Y/dist-packages,
where X.Y corresponds to the python version in your system.
To uninstall Z3, use To uninstall Z3, use
sudo make uninstall sudo make uninstall
3) Building Z3 using clang and clang++ on Linux/OSX 4) Building Z3 using clang and clang++ on Linux/OSX
Remark: clang does not support OpenMP yet. Remark: clang does not support OpenMP yet.
CXX=clang++ CC=clang python scripts/mk_make.py CXX=clang++ CC=clang python scripts/mk_make.py