Skip to content
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

v3.20/ros/noetic: split dev packages #970

Merged
merged 4 commits into from
Jul 18, 2024
Merged

v3.20/ros/noetic: split dev packages #970

merged 4 commits into from
Jul 18, 2024

Conversation

at-wat
Copy link
Member

@at-wat at-wat commented Jul 17, 2024

Split development files (headers) and dependencies from runtime packages.

This is generated by alpine-ros/ros-abuild-docker#171

Install size

Without splitting dev:

/ # apk add ros-noetic-cv-bridge
...
(660/660) Installing ros-noetic-cv-bridge (1.16.2-r0)
...
OK: 2228 MiB in 672 packages

With splitting dev:

/ # apk add ros-noetic-cv-bridge
...
(258/258) Installing ros-noetic-cv-bridge (1.16.2-r1)
...
OK: 460 MiB in 272 packages

Basic pub/sub test

Without splitting dev:

/ # apk add ros-noetic-roscpp-tutorials ros-noetic-rosmaster
...
(193/193) Installing ros-noetic-rosmaster (1.16.0-r0)
Executing busybox-1.36.1-r28.trigger
OK: 414 MiB in 207 packages
/ # . /usr/ros/noetic/setup.sh 
/ # rosmaster &
...
/ # /usr/ros/noetic/lib/roscpp_tutorials/listener &
/ # /usr/ros/noetic/lib/roscpp_tutorials/talker 
[ INFO] [1721264465.895458000]: hello world 0
[ INFO] [1721264465.995564000]: hello world 1
[ INFO] [1721264466.095548000]: hello world 2
[ INFO] [1721264466.195562000]: hello world 3
[ INFO] [1721264466.195843000]: I heard: [hello world 3]
[ INFO] [1721264466.295560000]: hello world 4
[ INFO] [1721264466.295839000]: I heard: [hello world 4]
[ INFO] [1721264466.395560000]: hello world 5
[ INFO] [1721264466.395845000]: I heard: [hello world 5]

With splitting dev:

/ # apk add ros-noetic-roscpp-tutorials ros-noetic-rosmaster
...
(76/76) Installing ros-noetic-rosmaster (1.16.0-r1)
Executing busybox-1.36.1-r28.trigger
OK: 130 MiB in 90 packages
/ # . /usr/ros/noetic/setup.sh 
/ # rosmaster &
...
/ # /usr/ros/noetic/lib/roscpp_tutorials/listener &
/ # /usr/ros/noetic/lib/roscpp_tutorials/talker 
[ INFO] [1721264558.525257000]: hello world 0
[ INFO] [1721264558.625349000]: hello world 1
[ INFO] [1721264558.725367000]: hello world 2
[ INFO] [1721264558.825340000]: hello world 3
[ INFO] [1721264558.825572000]: I heard: [hello world 3]
[ INFO] [1721264558.925372000]: hello world 4
[ INFO] [1721264558.925644000]: I heard: [hello world 4]
[ INFO] [1721264559.025359000]: hello world 5
[ INFO] [1721264559.025663000]: I heard: [hello world 5]

Refs

Following PRs must be merged after this PR:

Copy link
Contributor

@f-fl0 f-fl0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. That's a pretty significant size reduction, especially for ros-noetic-cv-bridge.

@at-wat at-wat merged commit aca64e9 into master Jul 18, 2024
5 checks passed
@at-wat at-wat deleted the split-dev branch July 18, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants