Repository navigation
feat(autoware_cuda_dependency_meta): pass -fno-lto compile flag to downstream packages of autoware_cuda_dependency_meta - #11115
Merged
Conversation
|
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Contributor
Author
|
@mitsudome-r @xmfcx This change is needed so that CUDA-dependent packages can be built in the Debian buildfarm. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11115 +/- ##
==========================================
+ Coverage 18.06% 18.21% +0.14%
==========================================
Files 1802 1804 +2
Lines 125161 125407 +246
Branches 43614 43904 +290
==========================================
+ Hits 22613 22838 +225
- Misses 83705 83950 +245
+ Partials 18843 18619 -224
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
esteve
force-pushed
the
fix-avoid-lto-cuda
branch
from
August 26, 2025 09:38
b1bd32d to
6e8356b
Compare
esteve
force-pushed
the
fix-avoid-lto-cuda
branch
from
September 10, 2025 17:56
6e8356b to
6db88dc
Compare
esteve
force-pushed
the
fix-avoid-lto-cuda
branch
from
September 25, 2025 09:23
6db88dc to
0064311
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity. |
esteve
force-pushed
the
fix-avoid-lto-cuda
branch
from
November 25, 2025 13:04
0064311 to
f6eba60
Compare
…wnstream packages of autoware_cuda_dependency_meta Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
xmfcx
force-pushed
the
fix-avoid-lto-cuda
branch
from
December 26, 2025 09:56
f6eba60 to
9814c30
Compare
This was referenced Dec 26, 2025
Contributor
xmfcx
approved these changes
Dec 26, 2025
xmfcx
enabled auto-merge (squash)
December 26, 2025 10:32
xtk8532704
pushed a commit
to tier4/autoware_universe
that referenced
this pull request
Jan 7, 2026
…wnstream packages of autoware_cuda_dependency_meta (autowarefoundation#11115) Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp> Signed-off-by: xtk8532704 <1041084556@qq.com>
simonranjith
pushed a commit
to simonranjith/autoware_universe
that referenced
this pull request
Jan 16, 2026
…wnstream packages of autoware_cuda_dependency_meta (autowarefoundation#11115) Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
simonranjith
pushed a commit
to simonranjith/autoware_universe
that referenced
this pull request
Jan 17, 2026
…wnstream packages of autoware_cuda_dependency_meta (autowarefoundation#11115) Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
k-uta
pushed a commit
to tier4/autoware_universe
that referenced
this pull request
Jan 28, 2026
…wnstream packages of autoware_cuda_dependency_meta (autowarefoundation#11115) Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
KeisukeShima
pushed a commit
to KeisukeShima/autoware.universe
that referenced
this pull request
Mar 16, 2026
…wnstream packages of autoware_cuda_dependency_meta (autowarefoundation#11115) Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
mkquda
pushed a commit
to tier4/autoware_universe
that referenced
this pull request
Mar 16, 2026
…wnstream packages of autoware_cuda_dependency_meta (autowarefoundation#11115) Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
mkquda
pushed a commit
to tier4/autoware_universe
that referenced
this pull request
Apr 22, 2026
…wnstream packages of autoware_cuda_dependency_meta (autowarefoundation#11115) Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a
CONFIG_EXTRASfile so that downstream dependencies disable LTO. The Debian packaging tools (sbuild,fakeroot, etc.) enable LTO by default for all packages, but that optimization is not supported in CUDA and causes link errors.See https://forums.developer.nvidia.com/t/link-time-optimization-with-cuda-on-linux-flto/55530
Related links
https://forums.developer.nvidia.com/t/link-time-optimization-with-cuda-on-linux-flto/55530
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.