Skip to content

Commit a4df6ba

Browse files
committed
[CMAKE] Require z3-static config package
Require the z3-static post release that exposes the config module used by the Z3 CMake lookup path.
1 parent c94829f commit a4df6ba

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cmake/modules/contrib/Z3.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ else()
8181
if(TVM_Z3_REQUIRED)
8282
message(FATAL_ERROR
8383
"USE_Z3 is ON, but Z3 was not found. Install the static Z3 development "
84-
"package with `pip install z3-static`, or point Z3_DIR/CMAKE_PREFIX_PATH "
85-
"at a Z3 installation.")
84+
"package with `pip install 'z3-static>=4.16.0.post1'`, or point "
85+
"Z3_DIR/CMAKE_PREFIX_PATH at a Z3 installation.")
8686
endif()
8787
message(STATUS "Build without Z3 SMT solver support")
8888
return()

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[build-system]
1919
# z3-static ships the PIC static libz3 + headers consumed by USE_Z3=ON.
20-
requires = ["scikit-build-core>=0.11", "setuptools-scm>=8", "z3-static"]
20+
requires = ["scikit-build-core>=0.11", "setuptools-scm>=8", "z3-static>=4.16.0.post1"]
2121
build-backend = "scikit_build_core.build"
2222

2323
[project]

0 commit comments

Comments
 (0)