Closed aytey closed 5 years ago
For certain development/release scenarios, it would be beneficial to be able to get the git hash for the current build programmatically, as it is more granular that the Boolector version string.
This is something that is supported in Z3: https://github.com/Z3Prover/z3/commit/3587baaf24e001e3d88d49395357a826f743a189
and in STP: https://github.com/stp/stp/blob/master/lib/Util/GitSHA1.cpp.in
This PR exposes BTOR_ID over the C API and the Python API.
BTOR_ID
@mpreiner changes made, commits squashed and signed-off
For certain development/release scenarios, it would be beneficial to be able to get the git hash for the current build programmatically, as it is more granular that the Boolector version string.
This is something that is supported in Z3: https://github.com/Z3Prover/z3/commit/3587baaf24e001e3d88d49395357a826f743a189
and in STP: https://github.com/stp/stp/blob/master/lib/Util/GitSHA1.cpp.in
This PR exposes
BTOR_ID
over the C API and the Python API.