3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-25 15:23:41 +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

19
MODULE.bazel Normal file
View file

@ -0,0 +1,19 @@
module(
name = "z3",
version = "4.14.0",
bazel_compatibility = [">=7.0.0"],
)
bazel_dep(name = "rules_foreign_cc", version = "0.14.0")
bazel_dep(name = "rules_license", version = "1.0.0")
# Enables formatting all Bazel files (.bazel, .bzl) by running:
# ```bash
# bazel run -- \
# @buildifier_prebuilt//:buildifier --lint=fix -r $(bazel info workspace)
# ```
bazel_dep(
name = "buildifier_prebuilt",
version = "8.0.1",
dev_dependency = True,
)