-
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
Openssl 3.x.x conan v2 #16563
Openssl 3.x.x conan v2 #16563
Conversation
this extends the improvements of PR conan-io#12838 done for the 1.x.x recipe to the 3.x.x one; also there is a new 3.x.x test_package using the CMakeDeps generator
removed the _skip_test part taken from "v2 test package" for 1.x.x as it was not in "v1 test package" for 3.x.x
…figurations reason: see comments in the validate method of the 3.x.x's conanfile.py
…acos configurations" This reverts commit b4e8812.
Co-authored-by: Michael Keck <[email protected]>
plus some cleanup
also changed openssl 3.x.x test package to be compatible with conan v1 and v2 (self.dependencies["openssl"].options is not available in conan v1's test method)
I detected other pull requests that are modifying openssl/3.x.x 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.
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.
Any update on this? It would be really cool to be able to use OpenSSL v3 with Conan v2... That's the only remaining thing for our project to upgrade to Conan v2. thx! |
reason: with conan v2, transitive include paths are no longer set automatically so the test pkg would need to directly depend on zlib.
I haven't figured out why the MSVC build no longer generates Given that I am a consumer of conan-center-index recipes just as you are, @gegles , maybe you have a tip or can help out to get this done? |
This comment has been minimized.
This comment has been minimized.
Configurations/10-main.conf defines /nologo and /debug flags as default for Visual Studio that should be set by recipe
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit f5be79aopenssl/3.0.7
openssl/3.0.5
openssl/3.0.8
|
* re-enable the Apple changes in _patch_install_name * do not test the "openssl" standalone tool for Conan v2 (because of the complexity whether this test would work for deviating build and host profiles)
Conan v1 pipeline ❌Failure in build 8 (
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 (informative, not required for merge) ❌
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 8 (
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. |
Hi @jngrb - thanks for opening this PR - very good effort :D I will most likely open a new PR, as there are quite a lot of changes that diverge from your PR. I'm adding you as a co-author, I'll be opening it later today. Have tested it on Windows, Linux and macOS - I'll test some of the more unusual ones (e.g. Android, iOS, mingw) to make sure pre-existing logic still works. Thanks for championing this! |
Hi @jngrb - We've updated the recipe with Conan 2.0 compatibility in this PR: #16658. As part of this, the recipe has undergone several maintenance changes, in particular regarding dead code that wasn't being called, and superfluous code (some things are unnecessary with the newer recipe tools). Please see the pull request description for a detailed list of changes. I'll close this PR since the compatibility is now resolved, but if there are any changes that you wish to bring forward, please feel free to reopen the pull request or open a new one, assigning me as reviewer! Thanks so much for your contribution! |
Specify library name and version: openssl/3.x.x
Port of the conan v2 compatibility of PR #14066 for OpenSSL 1.x.x to the OpenSSL 3.x.x recipe.
This PR also includes PR #14426 :