conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
945 stars 1.72k forks source link

[question] What are the requirements for package platform support? #6088

Closed helmesjo closed 3 years ago

helmesjo commented 3 years ago

Just out of curiosity: If I make a package for libA which supports Windows, Linux, Macos, but my conan package/recipe only supports say Linux, what are the guidelines regarding this? Is it fine and just expected to be followed up "on demand", or is it a "requirement" that all platforms are resolved before it gets merged? Obviously this is biased towards the ones that are part of the build matrix.

I'm asking because I've seen this a couple of times where a package exist for some cross-platform lib, but when using it one realizes it's only available for a subset of the platforms. I guess the main question is, should I open an issue whenever I stumble upon this situation (granted I don't just try to solve it myself)?

This time it's specifically libtins, which requires winpcap on windows which coincidentally has no conan package yet (only one on bincrafters).

SpaceIm commented 3 years ago

I guess you can open an issue for libtins. Basically, it should require libpcap on non-Windows platform, and raise on Windows for the moment until availability ofwinpcap in CCI.

helmesjo commented 3 years ago

Ok, thanks!