3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-17 16:52:15 +00:00

Add support for building Z3 using Bazel. (#7646)

Signed-off-by: Steffen Smolka <smolkaj@google.com>
This commit is contained in:
Steffen Smolka 2025-05-15 09:47:29 -06:00 committed by GitHub
parent f680242620
commit 0b26f7e0ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 72 additions and 3 deletions

11
.bazelrc Normal file
View file

@ -0,0 +1,11 @@
# Use Bzlmod (`MODULE.bazel`) instead of `WORKSPACE.bazel`.
common --enable_bzlmod
common --noenable_workspace
# Use C++20.
build --cxxopt=-std=c++20
build --host_cxxopt=-std=c++20
# Use Clang.
build --action_env=CC=clang
build --action_env=CXX=clang++