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

[BUG]: CMake reports deprecation warnings when linking to CUDA::nvToolsExt in CMake 3.25 #1427

Closed
2 tasks done
mdemoret-nv opened this issue Dec 13, 2023 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@mdemoret-nv
Copy link
Contributor

Version

23.11

Which installation method(s) does this occur on?

Source

Describe the bug.

When configuring CMake with version 3.25, the following warning is now shown:

[cmake] CMake Warning (dev) at morpheus/_lib/cmake/libmorpheus.cmake:92 (target_link_libraries):
[cmake]   The library that is being linked to, CUDA::nvToolsExt, is marked as being
[cmake]   deprecated by the owner.  The message provided by the developer is:
[cmake] 
[cmake]   nvToolsExt has been superseded by nvtx3 since CUDA 10.0 and CMake 3.25.
[cmake]   Use CUDA::nvtx3 and include <nvtx3/nvToolsExt.h> instead.
[cmake] 
[cmake] Call Stack (most recent call first):
[cmake]   morpheus/_lib/CMakeLists.txt:67 (include)
[cmake] This warning is for project developers.  Use -Wno-dev to suppress it.

The CMake files should be updated to link against CUDA::nvtx3 per the message. This may require changes to the source code depending on where the files need to be included from.

Minimum reproducible example

No response

Relevant log output

No response

Full env printout

No response

Other/Misc.

No response

Code of Conduct

  • I agree to follow Morpheus' Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report
@mdemoret-nv mdemoret-nv added the bug Something isn't working label Dec 13, 2023
@cwharris
Copy link
Contributor

cwharris commented Feb 9, 2024

Fixed by #1468

@cwharris cwharris closed this as completed Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants