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

Fetchcontent zlib ng 2 #553

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Fetchcontent zlib ng 2 #553

wants to merge 6 commits into from

Conversation

FrancescAlted
Copy link
Member

This is a repost of PR #544, which has been reverted because of it trying to install libz.a during the make install step. One should fix this before merging again. @ax3l Feel free to use this new PR to experiment.

FWIW, this issue has been reported to zlib-ng project.

FrancescAlted and others added 6 commits August 29, 2023 12:47
Otherwise:
- we cannot use it in our shared lib
- downstream consumers will not be able to use it in shared libs,
  even if c-blosc is build as static

Not using -fPIC is a corner-case and should be addressed with
proper external dependencies instead of a superbuild (marginal
performance gains).
We will need to export the Zlib-NG libs to the build
tree, because upstream does not do it yet (work-around).

Additionally, we want to install zlib, because users might need
it in case they pick up c-blosc2 as a static lib.
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