-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
Replace zlib by zlib-ng #2708
Replace zlib by zlib-ng #2708
Conversation
Thanks for picking this up @dzenanz. This is well beyond my ability to do right now, but I'll be watching closely for education. |
This works for me. I updated the description with current state. It would be good if someone else tried this to confirm it works as expected. |
I haven't tested installation yet. |
I cleaned up the history. Testing the installation is still TODO. |
Only a minor change was needed to fix installation (the latest commit). Now waiting for upstream to merge my patches. |
Since we are using CMake, the Makefile.in files should be removed from the import. Why is CircleCI failing? Can we add the name mangling patches to our branch? |
Will do.
This is currently in my fork. We could go with this while waiting for some variant of the patches to be merged. But that risks the patch to be reject on philosophical/maintenance burden grounds, thus forcing us to keep our own set of patches which will need to be occasionally rebased with probable conflicts.. |
Hopefully it will be merged upstream. Or, a different approach could be used upstream, and we will switch to that if it serves the need. But if we need to keep our own set of patches for the name mangling, then that is what we will have to do. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dzenanz we are getting the error:
|
The last force-push takes care of that. ITK.macOS.Python "was cancelled". I will clean up this PR so it can be merged today. |
Co-authored-by: Gabriel A. Devenyi <gdevenyi@gmail.com>
Code extracted from: https://github.com/dzenanz/zlib-ng.git at commit 547e8bc10654c89d3c41e1b0201fdaee35250606 (develop).
# By Zlib-ng Upstream * upstream-zlib-ng: zlib-ng 2021-09-07 (547e8bc1)
I still seem to be getting this itkzlib-ng not found on the latest master on windows |
Hang on, maybe my cmake did not refresh something after pull... |
Yeah, note to self, When MSVC asks you to reload, and you click ok, but then it says, sorry can't do that in the process of a build. Close MSVC and reopen it Nothing to see here |
Doesn't it give the option to stop the build in order to reload? |
Some PRs in zlib-ng need to be merged, namely, zlib-ng/zlib-ng#1043 and zlib-ng/zlib-ng#1042. Preferably also zlib-ng/zlib-ng#1040 or zlib-ng/zlib-ng#1041. Until then, we will use
develop
branch in my fork.