-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[googleapis] Use is_msvc to abstract away compiler name setting #14626
[googleapis] Use is_msvc to abstract away compiler name setting #14626
Conversation
I detected other pull requests that are modifying googleapis/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prsso don't hesitate to report issues/improvements there. |
from conan.tools.scm import Version | ||
|
||
from conan.errors import ConanInvalidConfiguration | ||
|
||
from helpers import parse_proto_libraries | ||
|
||
required_conan_version = ">=1.45.0" |
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.
required_conan_version = ">=1.45.0" | |
required_conan_version = ">=1.47.0" |
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.
due to ConanInvalidConfiguration from conan.errors
So conan should implement conan-io/conan#11158 (comment), otherwise cross-compatibility will be quite tedious. |
Conan v1 pipelineAll green in build 1 (
|
…-index * 'develop' of octocat.dlogics.com:datalogics/conan-center-index: (6046 commits) cmake: Remove the private tag from the openssl requirement (conan-io#14689) doctest: Use self.info.clear() instead of header_only() (conan-io#14684) imath: add version 3.1.6 (conan-io#14679) tgbot: add version 1.5 (conan-io#14672) luau: add version 0.556 (conan-io#14673) fast_double_parser: add version 0.7.0 (conan-io#14664) sqlite_orm: add version 1.8 (conan-io#14663) magic_enum: add version 0.8.2 (conan-io#14658) Update changelog 09-December-2022 (conan-io#14525) Add Boost.LEAF to Conan Center (conan-io#13722) Add wavelet_buffer v0.4.0 (conan-io#14655) etl: add version 20.35.5 (conan-io#14654) nss 3.86 (conan-io#14652) flatbuffers: add version 22.12.06 (conan-io#14427) libxml2: fix CMake vars in CMakeDeps & bump icu (conan-io#14626) [googleapis] Use is_msvc to abstract away compiler name setting (conan-io#14619) (conan-io#14620) libzip: Use robust github mirror (conan-io#14617) pybind11_json: add version 0.2.13 (conan-io#14476) add libhydrogen/cci.20221115 (conan-io#13917) cimg: conan v2 support + bump dependencies + disable dependencies by default ...
Specify library name and version: googleapis/all
An issue was reported were installation was failing due to an out of date settings.yml were
msvc
was missing (conan-io/conan#12646). In Conan 2 the opposite is the case ("Visual Studio" is no longer the compiler name). This PR updates the recipe logic such that it uses the helper that abstracts away the compiler check in a way that is compatible with both (and, also, covers the case for users with an older settings.yml in conan 1.x)