mirror of
https://github.com/Z3Prover/z3
synced 2025-08-14 14:55:25 +00:00
Add support for building Z3 using Bazel. (#7646)
Signed-off-by: Steffen Smolka <smolkaj@google.com>
This commit is contained in:
parent
f680242620
commit
0b26f7e0ee
5 changed files with 72 additions and 3 deletions
17
README.md
17
README.md
|
@ -7,8 +7,9 @@ If you are not familiar with Z3, you can start [here](https://github.com/Z3Prove
|
|||
|
||||
Pre-built binaries for stable and nightly releases are available [here](https://github.com/Z3Prover/z3/releases).
|
||||
|
||||
Z3 can be built using [Visual Studio][1], a [Makefile][2] or using [CMake][3]. It provides
|
||||
[bindings for several programming languages][4].
|
||||
Z3 can be built using [Visual Studio][1], a [Makefile][2], using [CMake][3],
|
||||
using [vcpkg][4], or using [Bazel][5].
|
||||
It provides [bindings for several programming languages][6].
|
||||
|
||||
See the [release notes](RELEASE_NOTES.md) for notes on various stable releases of Z3.
|
||||
|
||||
|
@ -23,7 +24,9 @@ See the [release notes](RELEASE_NOTES.md) for notes on various stable releases o
|
|||
[1]: #building-z3-on-windows-using-visual-studio-command-prompt
|
||||
[2]: #building-z3-using-make-and-gccclang
|
||||
[3]: #building-z3-using-cmake
|
||||
[4]: #z3-bindings
|
||||
[4]: #building-z3-using-vcpkg
|
||||
[5]: #building-z3-using-bazel
|
||||
[6]: #z3-bindings
|
||||
|
||||
## Building Z3 on Windows using Visual Studio Command Prompt
|
||||
|
||||
|
@ -115,6 +118,14 @@ git clone https://github.com/microsoft/vcpkg.git
|
|||
./vcpkg install z3
|
||||
```
|
||||
|
||||
## Building Z3 using Bazel
|
||||
|
||||
Z3 can be built using [Bazel](https://bazel.build/). This is known to work on
|
||||
Ubuntu with Clang (but may work elsewhere with other compilers):
|
||||
```
|
||||
bazel build //...
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
Z3 itself has only few dependencies. It uses C++ runtime libraries, including pthreads for multi-threading.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue