diff --git a/.github/file-filter.yml b/.github/file-filter.yml index b74b2a4f11..15841240ab 100644 --- a/.github/file-filter.yml +++ b/.github/file-filter.yml @@ -11,6 +11,7 @@ python_src: &python_src cmakelist: &cmakelist - 'CMakeLists.txt' + - 'cmake/**' - 'toolchain/cmake/**' tests: &tests diff --git a/cmake/MFCTargets.cmake b/cmake/MFCTargets.cmake index 13777ccc32..401b361ae2 100644 --- a/cmake/MFCTargets.cmake +++ b/cmake/MFCTargets.cmake @@ -345,7 +345,8 @@ exit 0 if (TARGET CUDA::nvToolsExt) # CUDA <= 12.8 target_link_libraries(${a_target} PRIVATE CUDA::nvToolsExt) else() # CUDA >= 12.9 - target_link_libraries(${a_target} PRIVATE nvhpcwrapnvtx) + # -cudalib=nvtx3 links NVHPC's NVTX wrapper under each release's name + # (-lnvhpcwrapnvtx in 25.9 and 26.3, -lnvhpcnvtx in 26.9), so it is not named here. target_link_options(${a_target} PRIVATE "-cudalib=nvtx3") endif() endif()