-
Notifications
You must be signed in to change notification settings - Fork 682
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(lidar_apollo_segmentation_tvm): always run ament_auto_package() in CMakeLists.txt #1995
fix(lidar_apollo_segmentation_tvm): always run ament_auto_package() in CMakeLists.txt #1995
Conversation
…n CMakeLists.txt Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
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.
LGTM
@@ -19,7 +19,8 @@ find_package(autoware_cmake REQUIRED) | |||
autoware_package() | |||
|
|||
# Check that a neural network was available for lidar_apollo_segmentation_tvm to be built. | |||
if(lidar_apollo_segmentation_tvm_FOUND) | |||
autoware_check_neural_network(baidu_cnn "${${lidar_apollo_segmentation_tvm}_BACKEND}") |
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.
@mitsudome-r Is there something wrong with checking if the "core" package has been found when building this one? Because that's fundamentally what we want to check here.
With this change lidar_apollo_segmentation_tvm
is not a variable, so this package will probably not get built even when the correct cmake variable is set by the user.
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.
Oh, I see: now it is always found so that check doesn't make sense anymore.
I'll fix the behavior as part of another PR: #1880, nobody depends on this anyway so it's fine if it doesn't work for a bit.
…n CMakeLists.txt (autowarefoundation#1995) Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
…n CMakeLists.txt (autowarefoundation#1995) Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
…n CMakeLists.txt (autowarefoundation#1995) Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
Description
Resolves #1994
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.
After all checkboxes are checked, anyone who has write access can merge the PR.