-
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
libgit2: add version 1.8.1 #23953
libgit2: add version 1.8.1 #23953
Conversation
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.
Thanks!
recipes/libgit2/all/conanfile.py
Outdated
@@ -151,6 +151,8 @@ def generate(self): | |||
tc.variables["REGEX_BACKEND"] = self.options.with_regex | |||
if is_msvc(self): | |||
tc.variables["STATIC_CRT"] = is_msvc_static_runtime(self) | |||
if Version(self.version) >= "1.8.0": | |||
tc.variables["USE_SSH"] = "libssh2" |
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 keeps the same old behaviour as per libgit2/libgit2@v1.7.2...v1.8.0#diff-95a55896bed1a5af65001605d4d237f52bed5366bd33d43528638dc756e26efbR7, thanks!
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 (
|
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.
Just checked the versions diff and looks good. The upstream uses STREQUAL ON
for USE_SSH, not best approach but works. Thank you!
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.
Looks good thanks!
Specify library name and version: libgit2/1.8.1
libgit2/libgit2@v1.7.2...v1.8.1
USE_SSH
asexec
andlibssh2
. In conan CCI,libssh2
seems to be adequate.USE_HTTP_PARSER
to select http parser library. (http-parser
andllhttp
)