-
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
prometheus-cpp: add new version 1.2.4, require C++11 only #22079
Conversation
This comment has been minimized.
This comment has been minimized.
Regenerating missing binaries now |
This comment has been minimized.
This comment has been minimized.
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.
There is a change regarding the minimal C++ standard required to build this project, it's C++11 again.
jupp0r/prometheus-cpp@v1.1.0...v1.2.3
I would suggest trying to build everything with C++11 directly, excluding the C++14 check.
@uilianries |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@@ -36,15 +35,19 @@ class PrometheusCppConan(ConanFile): | |||
|
|||
@property | |||
def _min_cppstd(self): | |||
return 11 if Version(self.version) < "1.1.0" else 14 | |||
return "14" if Version(self.version) != "1.1.0" else "11" |
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.
return "14" if Version(self.version) != "1.1.0" else "11" | |
return "14" if Version(self.version) >= "1.1.0" else "11" |
Includes 1.1.0 and higher to C++14
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.
As you mentioned, prometheus-cpp/1.2.4 requires only C++11 again.
So prometheus-cpp/1.1.0 is the only version to require C++14.
I realized the above code is wrong condition, I already fixed it.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 2 (
Conan v2 pipeline ✔️
All green in build 2 (
|
… only * prometheus: add version 1.2.0 * update 1.2.1 * update 1.2.3 * update 1.2.4 * check C++11 only instead of C++14 * require C++14 only on 1.1.0 * invert condition
Specify library name and version: prometheus-cpp/*