-
Notifications
You must be signed in to change notification settings - Fork 26
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
Embed FCL in source code #39
Conversation
Signed-off-by: Michael X. Grey <[email protected]>
Signed-off-by: Michael X. Grey <[email protected]>
Signed-off-by: Michael X. Grey <[email protected]>
…raffic into fix/embed_fcl
Signed-off-by: Michael X. Grey <[email protected]>
…raffic into fix/embed_fcl
Signed-off-by: Michael X. Grey <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #39 +/- ##
===========================================
- Coverage 32.64% 22.13% -10.51%
===========================================
Files 159 353 +194
Lines 15729 29140 +13411
Branches 10489 13425 +2936
===========================================
+ Hits 5134 6449 +1315
- Misses 1736 13540 +11804
- Partials 8859 9151 +292
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Michael X. Grey <[email protected]>
I would say building the
This still will create problems when building the package in the buildfarm as that |
Signed-off-by: Michael X. Grey <[email protected]>
Signed-off-by: Michael X. Grey <[email protected]>
I've hacked up the fcl build scripts to remove the shared library and avoid installing anything (be it shared object files, headers, or config files). I think there shouldn't be any more risk of conflicts with installations of other versions of fcl. |
Signed-off-by: Michael X. Grey <[email protected]>
Following the discussion here we are going to embed a copy of FCL-0.6.1 into the source code of
rmf_traffic
. The build script forrmf_traffic
will first check if an FCL version 0.6 or greater is available on the target system. If it is not, thenrmf_traffic
will buildfcl-0.6.1
from the embedded source.So far this has worked fine when testing on my local machine, but there are a few open questions that should probably need to be addressed:
.so
for fcl-0.6.1, or should we skip building the.so
and instead only build a static library for fcl-0.6.1 to linkrmf_traffic
against?package.xml
ofrmf_traffic
include<depends>fcl</depends>
? That line is needed if a developer is building their own version of FCL in their colcon workspace and wants to linkrmf_traffic
against their own version, but I wonder if there are any harmful side effects for the build farm or for rosdep?