-
Notifications
You must be signed in to change notification settings - Fork 689
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
fix: make sure ament_package() is called when CUDA is not found #7917
base: main
Are you sure you want to change the base?
fix: make sure ament_package() is called when CUDA is not found #7917
Conversation
Signed-off-by: mitsudome-r <[email protected]>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
@@ -13,6 +13,7 @@ find_package(TENSORRT) | |||
|
|||
if(NOT (CUDAToolkit_FOUND AND CUDNN_FOUND AND TENSORRT_FOUND)) | |||
message(WARNING "cuda, cudnn, tensorrt libraries are not found") | |||
ament_package() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am using ament_package() instead of ament_auto_packages() to match with L82 in the original file.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7917 +/- ##
==========================================
+ Coverage 28.42% 28.44% +0.01%
==========================================
Files 1591 1591
Lines 116213 116224 +11
Branches 49606 49618 +12
==========================================
+ Hits 33039 33059 +20
+ Misses 74174 74143 -31
- Partials 9000 9022 +22
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
It looks like some packages (like lidar_apollo_instance_segmentation) uses |
This pull request has been automatically marked as stale because it has not had recent activity. |
Description
Resolves #7916
Related links
How was this PR tested?
Install Autoware on machines without CUDA installed and run
source install/setup.bash
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.