-
Notifications
You must be signed in to change notification settings - Fork 2k
opentelemetry: export with_examples parameter #16220
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
Conversation
This comment has been minimized.
This comment has been minimized.
I detected other pull requests that are modifying opentelemetry-cpp/all recipe:
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
This comment has been minimized.
This comment has been minimized.
@@ -61,6 +62,7 @@ class OpenTelemetryCppConan(ConanFile): | |||
"with_logs_preview": False, | |||
"with_async_export_preview": False, | |||
"with_metrics_exemplar_preview": False, | |||
"with_examples": True, |
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.
hi @jiaoew1991 - thanks for opening this PR.
We typically exclude building examples, most recipes where the underlying build scripts build examples by default would have them explicitly disabled. The rationale is that they are not part of the public API of the library and thus not necessary for consumers, and the Conan test package serves as a minimal example to cover this - Is it not the case with opentelemetry-cpp
?
Trying to understand the use
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.
I want to disable the examples too, but in the original recipe the example was not disabled and the cmake of opentelemetry-cpp
build the examples by default. I do not want to break the compatibility so keep building the example 😅
Hi @jcar87 , it seems the CI env still not ready 😭 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi all, I opened a Github #16296 recently related to an issue I discovered that was introduced to the package recipe recently. Namely, a change was made that to the recipe that caused Conan to build the example files in the OpenTelemetry repo. Unfortunately, there is a mistake in one of their example files that prevents it from building in C++ 20. It seems like this PR would at least expose the ability to turn off the building of examples. However, it might be best to just set What will it take to get this PR over the line? (I'm unfamiliar with contributing to this repo) Thank you! |
5a99496
to
3716dfc
Compare
This comment has been minimized.
This comment has been minimized.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Signed-off-by: Enwei Jiao <[email protected]>
3716dfc
to
6536e4a
Compare
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ❌Failure in build 7 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future. See details:Failure in build 7 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Specify library name and version: opentelemetry/all