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

Disable some targets where zlib-ng seems to no longer compile with default flags #164

Merged
merged 1 commit into from
Oct 28, 2022

Conversation

thomcc
Copy link
Member

@thomcc thomcc commented Oct 28, 2022

zlib-ng seems to need some extra flags to work on armv7 (to enable neon) or ppc64 (to enable altivec), so it's not really a great test case. I'll look into a better fix this weekend, but for now I'd prefer to just disable these, since the failures are effectively spurious.

I think a nice fix in the future might be if we passed along the flags needed based on CARGO_CFG_TARGET_FEATURES? I haven't thought about this much, so perhaps this is out of place for cmake-rs.

See also #80, where this was added. For whatever reason, that PR didn't have the same issues (older version of zlib-ng?)

@thomcc thomcc changed the title Disable some targets where zlib seems to no longer compile Disable some targets where zlib-ng seems to no longer compile with default flags Oct 28, 2022
@thomcc thomcc force-pushed the disable-failing-ci branch from 00036cb to 70fc898 Compare October 28, 2022 03:10
@thomcc thomcc merged commit 8e633ab into rust-lang:master Oct 28, 2022
@thomcc thomcc deleted the disable-failing-ci branch October 28, 2022 03:18
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.

1 participant