-
Notifications
You must be signed in to change notification settings - Fork 114
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
Use downloaded Z3 binary by default when static-link-z3
flag is active
#249
base: master
Are you sure you want to change the base?
Conversation
54babda
to
b8e75f3
Compare
Not sure if this would be interesting to you or not, but have you considered also supporting |
Most Linux distributions and macOS homebrew offer precompiled z3 libraries so there is no need to fallback to building manually. |
@waywardmonkeys I'm sorry that I don't know about In my understanding, the precompiled z3 requires msvc's C++ runtime such as choco install vcredist2017
echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV |
I don't think so. Considering Rust projects which depends on
https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html This is not smart way, so I think the fallback is better. |
Oh I misunderstood your statements and didn’t check the code. You are correct on this. But further I suggest using pkg-config like my PR to avoid so many hardcoded paths. |
I agree. (It can be implemented with new PR.) |
@waywardmonkeys any updates? |
I am hoping to get back to this this week. Support for |
Replace #193
Includes #207
This PR adds feature flag
static-link-z3
andforce-build-z3
to change building behavior ofz3-sys
.static-link-z3
force-build-z3
force-build-z3
Precompiled binary support
For environments with no precompiled binary support, automatically fallback to
force-build-z3
linux-x86_64
macOS-x86_64
macOS-aarch64
-- no ci testwindows-x86_64-msvc
windows-x86-msvc
-- no ci testBuild time