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

fix(lidar_apollo_segmentation_tvm): always run ament_auto_package() in CMakeLists.txt #1995

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

mitsudome-r
Copy link
Member

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.

  • 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.

…n CMakeLists.txt

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
Copy link
Contributor

@angry-crab angry-crab left a comment

Choose a reason for hiding this comment

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

LGTM

@mitsudome-r mitsudome-r merged commit 1445696 into autowarefoundation:main Sep 30, 2022
@@ -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}")
Copy link
Contributor

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.

Copy link
Contributor

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.

boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 3, 2022
…n CMakeLists.txt (autowarefoundation#1995)

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 3, 2022
…n CMakeLists.txt (autowarefoundation#1995)

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 19, 2022
…n CMakeLists.txt (autowarefoundation#1995)

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>

Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
@mitsudome-r mitsudome-r deleted the fix-source-error branch November 29, 2024 07:41
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.

lidar_apollo_segmentation_tvm not found when Autoware is sourced
3 participants