-
Notifications
You must be signed in to change notification settings - Fork 2k
cmaes: Add 0.10.0 #24202
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
cmaes: Add 0.10.0 #24202
Conversation
* Protobug mutator compatible with Conan 2.x Signed-off-by: Uilian Ries <uilianries@gmail.com> * Add version 1.3 Signed-off-by: Uilian Ries <uilianries@gmail.com> * Enforce protobuf link Signed-off-by: Uilian Ries <uilianries@gmail.com> * update abseil usage Signed-off-by: Uilian Ries <uilianries@gmail.com> * consume all libs in tests Signed-off-by: Uilian Ries <uilianries@gmail.com> * define cxx language in cmakelists Signed-off-by: Uilian Ries <uilianries@gmail.com> * static-library on Windows Signed-off-by: Uilian Ries <uilianries@gmail.com> * Exclude examples from CMakeLists.txt The upstream uses EXCLUDE_FROM_ALL CMake feature to avoid building examples by default, however, CMake still parses the example cmake file and requires more external dependencies like expat. Signed-off-by: Uilian Ries <uilianries@gmail.com> * Do not build shared on Windows Signed-off-by: Uilian Ries <uilianries@gmail.com> --------- Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@phbasler Thank you for your PR! Please, take a look in you emails/accounts used in this PR: #24202 (comment) The CLA bot listed 2 emails and it will not approve if both agrees to the CLA. |
@uilianries |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 29 (
Conan v2 pipeline ✔️
All green in build 29 (
|
@AbrilRBS why did you remove the openmp option? Should the package not be used anymore? |
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! Thanks for taking the time to create the PR, sorry that we didn't get back to you on a timely manner. I've left some comments on the PR, and made a cleanup now that Conan 1 support is no longer needed :)
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 4a38212..dccfea4 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt |
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 see this comes from CMA-ES/libcmaes#234, do you have any insight into wether it will be merged eventually?
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 hope so. I will trigger @beniz again. If there is a new version with the PR, then I can adjust the conanfile here to not include this patch for the new version
Not that is should not be used per-se, it's more that its funcionality currently does not align with our expectations on CCI |
@AbrilRBS Just a little bump. Do you need anything for the last two points? |
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.
@phbasler Thank you for your time and effort in pushing this PR 😄
Just like @AbrilRBS, I'm concerned about these patches listed in this PR: We try to keep as close as possible to the upstream in terms of code to reflect the exact same behavior from there. We can accept patches, but usually as a last resort, we prefer to push a newer version with those fixes instead, so we do not need to "maintain" patches in the repository. You can obtain more information in policy about patching section. Also, when patching, please keep it as minimal as possible and well referenced from where it came, including using patch_source
in the conandata.yml
if possible, it helps all the community in terms of security and reliability.
I also would keep this recipe as simple as possible, avoiding the option surrog
. First, because the CI will not validate that option as False, so we need to build locally to check it. Second, because it can be configured via the Conan config tools.cmake.cmaketoolchain:extra_variables
when needed from consumer side.
Co-authored-by: Uilian Ries <uilianries@gmail.com>
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.
LGTM.
The linter accuses of using a bad URL for downloading, because it's a tag, not a proper release package. However, the upstream has no distributed release: https://github.com/CMA-ES/libcmaes/releases
@uilianries Thanks for adjusting this. |
Specify library name and version: cmaes/0.10.0
Add new package cmaes according to issue #24201
Fixes #24201
I am not the author of cmaes, but according to the authors in CMA-ES/libcmaes#233 I can provide this recipe.
Maintainers changes