-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Use global cmake macros and fix gcc-10 build #1527
Conversation
2848b4a
to
968d128
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1527 +/- ##
=======================================
Coverage 85.05% 85.05%
=======================================
Files 123 123
Lines 11713 11710 -3
Branches 999 996 -3
=======================================
- Hits 9962 9960 -2
- Misses 1435 1437 +2
+ Partials 316 313 -3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
@christophfroehlich: Careful, AFAIK bloom does not "bundle" files outside of the package folders. |
oh, thanks for the hint. This means that the packages won't be built on the build farm right? |
Yes. The common cmake would need to get packaged. |
it's not the tier 3 I'm concerned about, I have a personal interest due to one of my projects at work ;) but could solve it differently, sure thing. |
This pull request is in conflict. Could you fix it @christophfroehlich? |
8f7d2c9
to
cf39e6a
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.
Looks great
The change is motivated from the fact that we added a compiler option, which was introduced with gcc-11. But, debian11 (the humble tier 3), has only gcc-10 per default. (We don't have CI jobs for compatibility of the rolling version on humble debian/rhel.)
So I added a switch depending on the gcc version to add this option or not.
To make the options simpler to handle in the future, I propose to add a global cmake macro instead.Instead, I created a new package ros2_control_cmake with ros-controls/ros2_control_cmake#1, please review there if we should rename the macros etc.