-
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
abseil: add components + cache cmake #2928
abseil: add components + cache cmake #2928
Conversation
Another option would be to:
|
Some configurations of 'abseil/20200205' failed in build 1 (
|
Some configurations of 'abseil/20200205' failed in build 2 (
|
Some configurations of 'abseil/20200225.2' failed in build 3 (
|
I can wait conan 1.29.0 in CCI, or maybe using |
cmake_find_package_multi doesn't take into account frameworks in conan 1.28.1.
Did you generate the JSON files? (I really hope so 🙈) |
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) | ||
conan_basic_setup() | ||
conan_basic_setup(TARGETS) |
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.
conan_basic_setup(TARGETS) | |
conan_basic_setup() |
tools.replace_in_file( | ||
os.path.join(self._source_subfolder, "CMakeLists.txt"), | ||
"project(absl CXX)", """project(absl CXX) | ||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) | ||
conan_basic_setup()""") |
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.
Could this be avoided with a top level CMakeLists.txt wrapper?
I think keeping the parser with the recipe would make maintenance easier! |
All green in build 4 (
|
Regarding the new auto-merge feature: If I would "request changes" now, because I think this should not get merged until we have talked further about the generating of the JSON files - would the bot care about this? Or does the bot exclusively look at the approvals? |
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.
How to generate the JSON files?
@Croydon we are still kind of testing it (now in production), as the automation is configurable. The usage is very basic right now and it counts the reviews from the team and the community and only "blocks" the merge if the latest commit has a red review from any of the team members. We are still doing some changes until we enable it with the proper configuration. The details will be documented as requested in #2857 |
@Croydon @prince-chrismc I know that current recipe is far from ideal, but at least it brings all abseil imported targets in |
I think I would prefer if you checked it in, god forbid someone else needs it at least we have a starting point. As long as ur script says "FYI i do not work and you'll need to manually fix some paths" I think we will be miles of head of where we are today. does that sound reasonable? |
lts_2020_09_23 was released (https://github.com/abseil/abseil-cpp/releases/tag/20200923). May I ask you to generate the JSON file for the new version as well? |
Another PR please, this one is related to components only. |
@SpaceIm Please provide your script somewhere, even if it is just in a GitHub Gist or whatever. Otherwise we pretty much have a bus factor of 1 for adding new abseil versions and we will always have to annoy you 😄 |
@Croydon I'm close to provide a PR with last abseil release, where cmake config file is (more or less naively) parsed in |
Thanks @SpaceIm, it sounds awesome. |
Specify library name and version: abseil/all
conan-center hook activated.
closes #2924, closes #1697
Suggestions are welcome 😄