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

Change Download Binary URL for ubuntu-20.04 #1

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

niiyama-kota
Copy link

@niiyama-kota niiyama-kota commented Sep 25, 2023

As a current issues, we face cargo test error when using ubuntu-20.04 or previous versions.
This problem is lead by glibc library version dependency.

In the latest z3 release, we can select appropriate binaries which are built by different glibc library.
This PR fix download URLs by judging system glibc version and switching URLs.

Also, CI for ubuntu-20.04 is added.
It seems another unit test issue for ubuntu-20.04. (CI fails)

z3-sys/build.rs Outdated
@@ -198,6 +198,7 @@ fn download_z3() -> Option<String> {
.map_err(|e| e.to_string())?;
if sha256 != "PASS" {
let hash = Sha256::digest(&buf);
println!("{:?}", format!("{:x}", hash));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ミーティングディスカッション) デバッグ用なので消したほうがよさそう

Copy link

@y-yu y-yu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants