-
Notifications
You must be signed in to change notification settings - Fork 495
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
Improve CMake usage #1550
Improve CMake usage #1550
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1550 +/- ##
==========================================
- Coverage 51.11% 51.10% -0.00%
==========================================
Files 380 380
Lines 31802 31802
==========================================
- Hits 16252 16249 -3
- Misses 15550 15553 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
4551145
to
4935dbb
Compare
moveit/CMakeLists.txt
Outdated
@@ -1,4 +1,4 @@ | |||
cmake_minimum_required(VERSION 3.10.2) | |||
cmake_minimum_required(VERSION 3.16.3) |
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.
What's the oldest Ubuntu LTS release we're expected to support?
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.
There is a REP about ROS 2 Releases and Target Platforms . I've chosen the minimal version based on that
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.
A single ROS 2 distribution will only have full Tier 1 support for a single Ubuntu LTS. The rationale is that fully supporting two LTS versions - which means 2-year-different versions of upstream dependencies - is a tremendous overhead and sometimes even impossible.
If we're only supporting Ubuntu 22 with this code then you can raise that CMake requirement to 3.22. I wasn't aware of us still doing any active maintenance on releases that target Ubuntu 20 except for maybe bug fix backports.
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.
This is actually a good point, I'll bump the version to 3.22. I don't think that we support focal with main anymore @henningkayser @vatanaksoytezer @JafarAbdi any objections?
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.
You can safely bump this to 3.22, we don't support Focal on main
or humble
.
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.
We almost only backport non API breaking bug fixes to Focal, I'm also happy with 3.22.
3917f9f
to
5b6201e
Compare
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.
Really glad to see modern CMake being used in MoveIt!
(cherry picked from commit 0faa583)
Description
Apply some CMake recommendations from @ChrisThrasher + Update
RUNTIME DESTINATION
for some packages tobin
as recommended by the Ament-CMake docs
Checklist