Open
Conversation
Changes allowing conf-zlib to be used as a dependency for ortools_solvers. for centos < 10: include zlib-static for centos >= 10: use zlib-ng-compat-devel add msys2 add suse and opensuse add freebsd
jmid
requested changes
Feb 19, 2026
Member
jmid
left a comment
There was a problem hiding this comment.
Thanks! Improvements to conf-zlib are most welcome! 🙏
I can see conf-zlib.1/opam has been improved over the past 10 years.
Rather than roll a version 2 (which opens up for, e.g., unwanted lower-bound conf-zlib search) I propose adding these changes to the original file.
The MSys2 changes are not quite right.
We offer 2 options to build standalone Windows executables:
- MinGW distributed through Cygwin
- MinGW distributed through MSys2
This however requires installing the packages prefixed with mingw,
as the regular Cygwin/MSys2 packages will introduce a dependency on their runtimes (cygwin1.dll and similar for MSys2). This means using
- https://packages.msys2.org/packages/mingw-w64-x86_64-zlib for 64-bit MSys2-MinGW
- https://packages.msys2.org/packages/mingw-w64-i686-zlib for 32-bit Msys2-MinGW
- as an alternative there's also https://packages.msys2.org/packages/mingw-w64-x86_64-zlib-ng-compat but only for or 64-bit MSys2-MinGW
- https://cygwin.com/packages/summary/mingw64-x86_64-zlib.html for 64-bit Cygwin-MinGW
- https://cygwin.com/packages/summary/mingw64-i686-zlib.html for 32-bit Cygwin-MinGW
For more background on MinGW conf-packaging see
Member
This was referenced Feb 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes allowing conf-zlib to be used as a dependency for ortools_solvers.
for centos < 10: include zlib-static
for centos >= 10: use zlib-ng-compat-devel
add msys2
add suse and opensuse
add freebsd