Closed elBoberido closed 2 months ago
@Crola1702 @clalancette this should fix the warning which was introduced by the patch to fix a warning :)
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.55%. Comparing base (
9a81c23
) to head (aab127d
). Report is 5 commits behind head on release_2.0.
I'm certainly not opposed to doing this, but it is odd that it is needed. We know that the vendored version of cpptoml doesn't have this patch, so when would we need to reverse it? During a rebuild?
@clalancette from this log it looks like cmake was executed twice.
[100%] Built target ext_cpptoml
error: patch failed: CMakeLists.txt:1
error: CMakeLists.txt: patch does not apply
CMake Warning at cmake/cpptoml/CMakeLists.txt:81 (message):
CMake step [patch] for 'cpptoml-build' failed! Error code: 1! Build of
'cpptoml-build' might fail
The warning was generated by our cmake code since the patch could not be applied. This could be either because something in the cpptoml sources changed or because the patch was already applied.
By trying to revert the patch we can now detect whether it was already applied and if the patch now fails, we know that it is due to a change in the cpptoml sources.
This is just to protect our future selves from the sins of our present selves :)
@elBoberido @elfenpiff Also with the risk that I don't tell you something new, the latest ROS build breaks. I'm not sure if you get the mails https://build.ros2.org/job/Hdev__iceoryx__ubuntu_jammy_amd64/8/console
@budrus it seems the git version on the CI does not yet have the quiet
option. Will create another PR ... all good things come in threes
cc @clalancette
Notes for Reviewer
Backport of https://github.com/eclipse-iceoryx/iceoryx/pull/2261.
See also https://github.com/eclipse-iceoryx/iceoryx/pull/2232#issuecomment-2058987035
Pre-Review Checklist for the PR Author
iox-123-this-is-a-branch
)iox-#123 commit text
)task-list-completed
)Checklist for the PR Reviewer
iceoryx_hoofs
have been added to./clang-tidy-diff-scans.txt
Post-review Checklist for the PR Author
References