-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed Z3 version check again #3700
Conversation
Hi Johan, sorry for the breakage. I'm confused though, we're using the directive
(on z3 commit 6d3cfb63daa9afdd7d6d6b4d2f2fb84bd7324571, which is not a tag). Can you say more on how you built z3 for this to fail, and what exactly you get? Not against the patch at all, just want to add a proper comment so we don't break it again. Thanks! |
…s output additional information after the version number when calling z3 --version
Hi Guido, Sorry for the force-push; I tried updating with the upstream commits but forgot to rebase so unintentionally created a merge commit. I've rebased now so merging this pull request should be easier. Let me know if you'd like me to make any other changes/documentation additions for this pull request!
True, but the output of this is the same as calling
I checked out and built the version of this exact commit:
If I then run the binary itself with I figured out that this is — at least partly — because the build system I used was
In this case, the output of My fix simply splits the string on the first Anyway, please let me know if there's anything you'd like me to change about my pull request! Kindly, Johannes |
Thanks Johan! Just added a comment to this PR, will merge. |
A recent commit (#d6991a4) reverted a previous change to the Z3 version checking, which causes some Z3 builds to fail the check even though the version is correct.
The change in #d6991a4 removed splitting the output of
z3-<version> --version
on the-
character. With the Z3 binaries pulled by the Everest build system, this isn't a problem because they simply output the version number. However, if you build Z3 manually, the--version
command often outputs additional information, like the build hash (e.g.Z3 version 4.13.3 - 64 bit - build hashcode 4d30f26f72ce62f5dcb5a5258f632f84858714f
).This commit reverts this change and re-inserts the string-splitting such that custom Z3 builds (of the correct version) are supported again.