Closed clalancette closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.83%. Comparing base (
a80bd29
) to head (9a81c23
). Report is 1 commits behind head on release_2.0.:exclamation: Current head 9a81c23 differs from pull request most recent head fb08207. Consider uploading reports for the commit fb08207 to get more accurate results
I think you can use #2011 for this PR. Please add iox-#2011
to your commit message.
Furthermore, can you please change vmactions/freebsd-vm@v0
to vmactions/freebsd-vm@v1
in .github/workflows/build-test.yml
.
Additionally, to make the CI happy can you adjust the patch to work similarly to this https://github.com/eclipse-iceoryx/iceoryx/blob/release_2.0/cmake/googletest/CMakeLists.txt#L73-L82
I think you can use #2011 for this PR. Please add
iox-#2011
to your commit message.
Done now.
Furthermore, can you please change
vmactions/freebsd-vm@v0
tovmactions/freebsd-vm@v1
in.github/workflows/build-test.yml
.
Also done.
Additionally, to make the CI happy can you adjust the patch to work similarly to this https://github.com/eclipse-iceoryx/iceoryx/blob/release_2.0/cmake/googletest/CMakeLists.txt#L73-L82
I don't think that is the correct logic for this patch. In particular, we want to apply this on Windows as well, as with a newer version of CMake there, we will have the same warning.
@clalancette the same logic can be used to apply the patch on Windows. I'm not sure anymore why we skipped Windows with gTest.
The current proposal has the drawback that one cannot call cmake -B build -Hiceoryx_meta
multiple times, e.g. when changing some compile time options, without cleaning the whole build directory. The logic we use for gTest only generates a warning instead of an error on subsequent calls.
Can you adapt this PR similarly to #2247? I set the version to v3.16 since that's what we require anyway.
I guess you would also like to see a v2.0.6 release after this is merged, right?
Sorry for the delay here, just picking this back up.
Thanks for doing that work on master
, that made my life really easy. This now just becomes a backport of that. With that in mind, please see 94224d0.
I guess you would also like to see a v2.0.6 release after this is merged, right?
Yes, that would be fantastic, thank you.
@clalancette is there a deadline by when you need the v2.0.6 release?
I also just noticed that the last commit does not start with the issue number. Can you please amend the commit message and force push?
I also just noticed that the last commit does not start with the issue number. Can you please amend the commit message and force push?
Fixed now.
@clalancette is there a deadline by when you need the v2.0.6 release?
Earlier is better, but the drop-dead date is in about 4 weeks.
It seems there are issues with the FreeBSD action and the codecov upload. I'll merge and take care of these issues in a follow up PR since they are not related to your changes
It seems there are issues with the FreeBSD action and the codecov upload. I'll merge and take care of these issues in a follow up PR since they are not related to your changes
Thank you, it is much appreciated!
@clalancette I was just pinged by another iceoryx committer that they got some emails from the ROS buildfarm after the merge. They are not quite sure if something broke but I also do not have access to those mails. Can you confirm that this merge did not break anything?
Hey! I think this PR triggered a warning in ROS2 CI:
Reference build:
In iceoryx_posh output:
[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
CC: @clalancette
@Crola1702 this should only happen it the patch is already applied. I think I can fix this. Will create a PR to check if the patch can be reversed to check if it is already applied. If if fails, the patch will be applied.
cc @clalancette
Newer versions of CMake (like CMake 3.28 in Ubuntu 24.04) complain when projects ask for compatibility with versions of CMake earlier than 3.5. Bump cpptoml to at least 3.5 here.
Pre-Review Checklist for the PR Author
iox-123-this-is-a-branch
)iox-#123 commit text
)task-list-completed
)iceoryx_hoofs
are added to./clang-tidy-diff-scans.txt
Notes for Reviewer
Checklist for the PR Reviewer
iceoryx_hoofs
have been added to./clang-tidy-diff-scans.txt
Post-review Checklist for the PR Author
References