-
Notifications
You must be signed in to change notification settings - Fork 255
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
{ros2} Add required ROS2 SDK environment variables #1261
Draft
sgstreet
wants to merge
177
commits into
ros:master-next
Choose a base branch
from
sgstreet:add-env-vars-to-sdk
base: master-next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Still verifying this on master-next and styhead-next |
@robwoolley I verify this by building examples, demos and example-interfaces with master-next and styhead-next. We still have the issue of PYTHON_SOABI verses _PYTHON_SYSCONFIGDATA_NAME. I have been unable to make the latter work. |
sgstreet
force-pushed
the
add-env-vars-to-sdk
branch
from
November 26, 2024 01:43
e5899ae
to
fd2dd6c
Compare
Ensure that the previous value of PYTHONPATH is preserved when the ROS opt prefix Python site-packages directory is added. Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
The prefix-path file contains references to TMPDIR which causes package QA warnings. Disable the generation of the prefix-path files as we presently are not using them to build on the target. Signed-off-by: Rob Woolley <[email protected]>
Duplicate workaround in setuptools3_legacy.bbclass but customized for the ROS opt prefix. Resolves problems in setuptools3 packages which add a redundant directory (eg. /opt/ros/rolling/share/ament_package/ament_package) Substitute mv for cp and rm to avoid condition where mv failed when there was an existing directory with the same name. Signed-off-by: Rob Woolley <[email protected]>
Add libfyaml recipe needed as a dependency for mrpt2. Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
The optional dependency on octomap is necessary for building moveit. Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Add new recipes for suitesparse, leaving the older recipes if needed by older ROS 2 distros. Update the WORKDIR variable for old recipes to use git directory name. The suitesparse-cholmod and suitesparse-spqr recipes had incorrect version numbers that were ahead of the latest versions. Reset the versions to correspond to CMakeLists.txt in the latest releases. Signed-off-by: Rob Woolley <[email protected]>
This removes suitesparse-metis as it is reportedly broken in the latest version of ceres-solver in meta-openembedded. Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Add new recipe for backward-ros and gz-tools2. Signed-off-by: Rob Woolley <[email protected]>
Add new recipe as needed dependency for ipopt. Signed-off-by: Rob Woolley <[email protected]>
New recipe required for libtiff, openexr, and gdal. Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Add gts recipe for gz-common5. Signed-off-by: Rob Woolley <[email protected]>
Recipe was moved to meta-ros-common. Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Windel Bouwman <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
The gfortran compiler does not have a flag to remove the source file from the output. We must ignore the QA issues instead. Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Windel Bouwman <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
The GTSAM_SOURCE_TREE_DATASET_DIR is embedded as a default search path inside the binaries produced. This is not relevant when cross-compiling and causes a buildpath QA issue. Remove the references to resolve the QA issue. Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Windel Bouwman <[email protected]> Signed-off-by: Rob Woolley <[email protected]>
robwoolley
force-pushed
the
master-next
branch
from
November 26, 2024 03:06
2df0674
to
2394795
Compare
sgstreet
force-pushed
the
add-env-vars-to-sdk
branch
from
November 26, 2024 18:20
fd2dd6c
to
ed6e3d4
Compare
I have made a mess out of this, fixing now. |
Signed-off-by: Stephen Street <[email protected]>
sgstreet
force-pushed
the
add-env-vars-to-sdk
branch
from
November 26, 2024 19:23
ed6e3d4
to
7324827
Compare
robwoolley
force-pushed
the
master-next
branch
from
November 27, 2024 19:34
3594ca8
to
928b66f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the following environment variable when the SDK is setup:
If the Yocto enviroment variable ROS_SDK_UNIFY is not empty, $OECORE_TARGET_SYSROOT/opt/ros/$ROS_DISTRO/setup.bash or friends is source during SDK setup. The value of ROS_SDK_UNIFY should one of the following "sh", "bash" or "zsh"