-
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
[cppcheck] Add version 2.9.1 #14149
[cppcheck] Add version 2.9.1 #14149
Conversation
This comment has been minimized.
This comment has been minimized.
I detected other pull requests that are modifying cppcheck/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prsso don't hesitate to report issues/improvements there. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Martin Delille <martin@delille.org>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Nice job @Sneder89 ! 🎉 |
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.
Handful of small comments plus I got confused about the option that changes 🙈 if you can please enlighten me that be appreciated
"2.9.2": | ||
- patch_file: "patches/0001-cli-remove-dmake-cmake.patch" | ||
- patch_file: "patches/0002-htmlreport-python3.patch" | ||
- patch_file: "patches/0003-pcre-debuglib-name.patch" |
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.
recipes/cppcheck/all/conanfile.py
Outdated
del self.options.with_z3 | ||
|
||
def package_id(self): | ||
del self.info.options.with_z3 |
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.
This should not be required 🤔 we want it to change 2.8.0 and once it's deleted in config options than it's not taken into account
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.
OK, I removed that from the package_id method
|
||
if (USE_Z3) | ||
find_package(Z3 QUIET) | ||
- if (NOT Z3_FOUND) |
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.
Wait I am confused --- When is this option added? this is a new patch but I thought the option was removed 🤔
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.
Yes, I made some changes to the patch. z3 is still required for 2.7.5, but removed for 2.8 and above. So if 2.10 is released, somebody can remove all these things.
test_type = "explicit" | ||
|
||
def requirements(self): | ||
self.requires(self.tested_reference_str) |
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.
Should this be a tool rquires?
conan-center-index/docs/package_templates/prebuilt_tool_package/all/test_package/conanfile.py
Line 12 in b2dc1a2
self.tool_requires(self.tested_reference_str) |
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
This comment has been minimized.
This comment has been minimized.
Thanks! |
Specify library name and version: cppcheck/2.9.1 cppcheck/2.8.2
I would like to add new versions of that useful tool and make the recipe ready for conan v2