-
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
Add loguru/2.1.0
recipe
#14543
Add loguru/2.1.0
recipe
#14543
Conversation
This comment has been minimized.
This comment has been minimized.
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.
Thank you for your contribution, please, take a look on my review, there are some points which should be updated.
recipes/loguru/all/CMakeLists.txt
Outdated
@@ -0,0 +1,63 @@ | |||
cmake_minimum_required(VERSION 3.25) |
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.
please, submit this cmake script to the upstream first.
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.
Upstream already has a PR related to adding full CMake build: emilk/loguru#215, but it's not merged since April.
I can use the CMake script from this un-merged PR. But in the meantime I've decided to use a minimal own CMake script only for Conan package, and migrate to the "official" CMake build once upstream's PR-215 will be merged.
recipes/loguru/all/conanfile.py
Outdated
def build_requirements(self): | ||
self.tool_requires("cmake/3.25.0") | ||
|
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.
def build_requirements(self): | |
self.tool_requires("cmake/3.25.0") |
it does not need cmake 3.25 for a very simple library.
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.
Do you mean I should remove the cmake
build requirement altogether? Or to downgrade its version?
I mean, it currently uses CMake to build itself. Can I still remove cmake build dependency?
Loguru: a lightweight and flexible C++ logging library. Website: https://emilk.github.io/loguru/index.html Source code: https://github.com/emilk/loguru Closes conan-io#14542
f19f72b
to
9db2e89
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. |
I want to fix issues in this PR, but I'm waiting for feedback from the Conan team. Is there some kind "waiting for feedback" label that can be requested? |
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.
@antekone Please, consider antekone#1
I added some improvements over your original cmake file 😄
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. |
Simplifications and Conan v2 fixes
This comment has been minimized.
This comment has been minimized.
@uilianries Merged your suggestions, thanks, will tidy up the latest comments from the linter bot (warnings regarding Conan v2) when I find some time for it. |
@antekone Thank you! Currently we are under maintenance due Conan v2 migration. Please, follow https://status.conan.io to get more information! Happy March! |
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. |
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.
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 9bdf511loguru/cci.20230406
|
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 18 (
Conan v2 pipeline ✔️
All green in build 18 (
|
Hi @antekone, |
@czoido CLA signed. I'm sorry for not participating in updates, and thank you for your help. |
No problem! Thanks a lot for the contribution! I hope the recipe can be merged soon |
* Add `loguru/2.1.0` recipe Loguru: a lightweight and flexible C++ logging library. Website: https://emilk.github.io/loguru/index.html Source code: https://github.com/emilk/loguru Closes conan-io#14542 * Simplify CMake and native features usage (conan-io#1) Simplifications and Conan v2 fixes * Update recipes/loguru/all/conanfile.py * Update recipes/loguru/all/conanfile.py * Update recipes/loguru/all/conanfile.py * loguru: use latest commit with CMake support * fixup: missing comma * fixup: typo * chore: rm config files * fixup: clean up defines * add includedirs, simplify test_package * add suffix * add m * fix windows shared * remove pdbs --------- Co-authored-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com> Co-authored-by: czoido <mrgalleta@gmail.com>
* Add `loguru/2.1.0` recipe Loguru: a lightweight and flexible C++ logging library. Website: https://emilk.github.io/loguru/index.html Source code: https://github.com/emilk/loguru Closes conan-io#14542 * Simplify CMake and native features usage (conan-io#1) Simplifications and Conan v2 fixes * Update recipes/loguru/all/conanfile.py * Update recipes/loguru/all/conanfile.py * Update recipes/loguru/all/conanfile.py * loguru: use latest commit with CMake support * fixup: missing comma * fixup: typo * chore: rm config files * fixup: clean up defines * add includedirs, simplify test_package * add suffix * add m * fix windows shared * remove pdbs --------- Co-authored-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com> Co-authored-by: czoido <mrgalleta@gmail.com>
Loguru: a lightweight and flexible C++ logging library.
Website: https://emilk.github.io/loguru/index.html Source code: https://github.com/emilk/loguru
Closes #14542
Specify library name and version: loguru/2.1.0
Loguru is a nice lightweight logging library. It has lots of stars on GitHub, and I think it should be supported by Conan. This is my first package so I'm sorry for any oversights!