Skip to content
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

Find Z3 within PATH env #818

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

manud99
Copy link
Contributor

@manud99 manud99 commented Mar 14, 2024

Currently, when using Silicon one has to explicitly define the location of the Z3 binary. Either via the --z3Exe option or via the Z3_EXE environment variable. My contribution allows the user to have Z3 referenced via its PATH environment variable. This mimics the behavior of the shell. So when it is possible to run z3 --version on the command line, one should also be able to run Silicon without any further configuration.

Already set config values are observed before running the PATH lookup, so this PR does not change the behavior of existing setups.

@marcoeilers
Copy link
Contributor

Thanks!

@marcoeilers marcoeilers merged commit 3d619b8 into viperproject:master Mar 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants