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

refactor(docker): refine CUDA related packages build #5458

Merged
merged 4 commits into from
Nov 20, 2024
Merged

Conversation

youtalk
Copy link
Member

@youtalk youtalk commented Nov 20, 2024

Description

This PR is more refined approach than #5454.

This PR can build only the CUDA related packages and their dependencies by using colcon build --packages-above-and-dependencies. This approach eliminates the need to hard-code and enumerate the --mount options. 

https://colcon.readthedocs.io/en/released/reference/package-selection-arguments.html

Tests performed

Not applicable.

Effects on system behavior

Not applicable.

Interface changes

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
@youtalk youtalk added type:containers Docker containers, containerization of components, or container orchestration. component:openadkit Issues or Features related to Open AD Kit tag:run-health-check Run health-check labels Nov 20, 2024
@youtalk youtalk self-assigned this Nov 20, 2024
Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
@youtalk youtalk marked this pull request as ready for review November 20, 2024 12:34
@youtalk youtalk requested review from mitsudome-r and xmfcx November 20, 2024 12:34
Copy link
Contributor

@xmfcx xmfcx left a comment

Choose a reason for hiding this comment

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

This is much cleaner 🧼, referring to packages by name was reducing the maintainability a lot.

@youtalk youtalk merged commit 821f488 into main Nov 20, 2024
19 checks passed
@youtalk youtalk deleted the cuda-pkgs-build branch November 20, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:openadkit Issues or Features related to Open AD Kit tag:run-health-check Run health-check type:containers Docker containers, containerization of components, or container orchestration.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants