-
Notifications
You must be signed in to change notification settings - Fork 629
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 ASAN build #5492
Fix ASAN build #5492
Conversation
CI MESSAGE: [15429280]: BUILD STARTED |
CI MESSAGE: [15429280]: BUILD FAILED |
6a69438
to
e1cda97
Compare
CI MESSAGE: [15433058]: BUILD STARTED |
CI MESSAGE: [15433058]: BUILD FAILED |
e1cda97
to
bcf2b5f
Compare
CI MESSAGE: [15437625]: BUILD STARTED |
CI MESSAGE: [15437625]: BUILD FAILED |
Signed-off-by: Joaquin Anton <janton@nvidia.com>
bcf2b5f
to
ca5583f
Compare
plugins/video/pkg_src/CMakeLists.txt
Outdated
else() | ||
set(NEW_LD_PRELOAD "${cuda_LIBRARY}") | ||
endif() | ||
string(REPLACE " " ":" NEW_LD_PRELOAD "${NEW_LD_PRELOAD}") |
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.
Why can't we just set(NEW_LD_PRELOAD "$ENV{LD_PRELOAD}:${cuda_LIBRARY}")
to have the colon already there? Also, this will break if somebody has a space in their LD_PRELOAD
or cuda path/
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.
the thing is that the LD_PRELOAD has a space, and my command below doesn't like it. So I am using an alternative way to separate paths.
Signed-off-by: Joaquin Anton <janton@nvidia.com>
CI MESSAGE: [15459175]: BUILD STARTED |
Category:
Other Fixes tests with sanitizer builds
Description:
Correctly propagate LD_PRELOAD arguments passed prior to installing the DALI video plugin
Additional information:
Affected modules and functionalities:
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A