[PATCH] D54978: Move the SMT API to LLVM

Dominic Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 11 12:39:57 PST 2019

ddcc added subscribers: delcypher, ddcc.
ddcc added a comment.

The likely reason for this versioning problem is that the current versioning implementation in FindZ3.cmake is best-effort only: among other conditions, if the z3 binary is available, it will execute it and parse out the version number from standard output, otherwise, it fails silently. This is because upstream Z3 doesn't define the API version in a header file, and uses a homebrew python-based build system that also doesn't export the version. I believe @delcypher 's CMake-based build system for upstream Z3 might solve this problem, but I haven't looked at it in a long time, and it it appears to be stalled ( https://github.com/Z3Prover/z3/issues/986 ).

I also agree that more notice about this patch would have been appreciated; I didn't hear it until I read LLVM weekly today.

  rC Clang



More information about the llvm-commits mailing list