microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.47k stars 6.2k forks source link

[coin-or-cbc] pre-release-version is used #39342

Open JulZimmermann opened 1 month ago

JulZimmermann commented 1 month ago

Is your feature request related to a problem? Please describe.

All the coin-or-* ports use a random trunk commit instead of a released version.

I try to use Googles or-tools lib with dependencies installed via vcpkg. The library has a dependency on coin-or-cbc. The latest official release of coin-or-cbc (2.10.7) works without problems.

However, vcpkg has a random git commit from 2023-02-01 as the version in its catalog. This commit is part of the not-yet-released 3.0 version of cbc. Because there are braking changes users using the stable 2.x interface (like the or-tools lib) can't use this.

Proposed solution

Use officially released versions of the lib(s) in the vcpkg catalog

Describe alternatives you've considered

No response

Additional context

No response

dg0yt commented 1 month ago

IIRC adding port coin-or-cbc was tough enough. Start at #31607 to learn about the history. Heavily customized autotools, the ultimate enemy.

valgur commented 1 month ago

Hmm... I went through the hassle of getting COIN-OR libraries to work with a re-generated autotools config to fix various libtool issues on Windows for ConanCenter (https://github.com/conan-io/conan-center-index/pull/23530). I could give setting up a stable version of COIN-OR on Vcpkg a shot, if there's interest. I'm not sure if downgrading the version would be acceptable, though, as it would likely cause breakages for consumers.