common
packages are not functioning as a true "common"
#8695
Labels
component:common
Common packages from the autoware-common repository. (auto-assigned)
Checklist
Description
I am working on multi-containerizing Autoware, but I'm having trouble because
autoware.universe/common
is not functioning as a true "common" directory as following.common
depend on packages outside ofcommon
.common
depends onvehicle/autoware_vehicle_info_utils
.common
depends onsimulator/dummy_perception_publisher
.common
are only used in specific component directories.cuda_utils
is only used underperception
. If CUDA dependencies can be removed fromcommon
, CUDA dependencies can be also removed from containers other thanperception
, leading to a significant reduction in image size.common/perception_utils
is only used in packages underperception
.While issue 2 is not a problem for now, issue 1 is a concern. When breaking down
autoware-universe
in the second step of the multi-containerization plan mentioned inhttps://github.com/orgs/autowarefoundation/discussions/4661#discussioncomment-9995806, the idea is to create a shared
autoware-universe-common
stage to avoid redundant builds of common packages.However, under the current situation described in issue 1, this approach cannot be realized, and all container images will need to rebuild the packages under common repeatedly.
Ref. autowarefoundation/autoware#5077
Purpose
Ensure that the packages under
common
do not have mutual dependencies with packages outside ofcommon
.Possible approaches
Ensure that the packages under
common
do not have mutual dependencies with packages outside ofcommon
.Definition of done
Exclude dependencies on the following package list from the
common
packages to resolve issue 1.The text was updated successfully, but these errors were encountered: