diff --git a/rapids-cmake/cpm/versions.json b/rapids-cmake/cpm/versions.json index 78ee5a28..886b87cf 100644 --- a/rapids-cmake/cpm/versions.json +++ b/rapids-cmake/cpm/versions.json @@ -50,14 +50,14 @@ "git_tag": "4879607c7086f3ebae2f8b9655d0b920c41d22ef" }, "nvcomp": { - "version": "4.2.0.11", + "version": "5.0.0.6", "git_shallow": false, "git_url": "https://github.com/NVIDIA/nvcomp.git", "git_tag": "a6e4e64a177e07cd2e5c8c5e07bb66ffefceae84", "proprietary_binary_cuda_version_mapping": { "11": "11", "12": "12", - "13": "12" + "13": "13" }, "proprietary_binary": { "x86_64-linux": "https://developer.download.nvidia.com/compute/nvcomp/redist/nvcomp/linux-x86_64/nvcomp-linux-x86_64-${version}_cuda${cuda-toolkit-version-mapping}-archive.tar.xz", diff --git a/testing/cpm/cpm_nvcomp-proprietary_binary-lib-location-common.cmake b/testing/cpm/cpm_nvcomp-proprietary_binary-lib-location-common.cmake index c15d7287..06d07bcd 100644 --- a/testing/cpm/cpm_nvcomp-proprietary_binary-lib-location-common.cmake +++ b/testing/cpm/cpm_nvcomp-proprietary_binary-lib-location-common.cmake @@ -32,9 +32,11 @@ endif() # Check the contents of the nvcomp cmake files to ensure that every line containing "_IMPORT_PREFIX" # also contains "${CMAKE_INSTALL_LIBDIR}" -set(nvcomp_list_of_target_files - "nvcomp-targets-common-release.cmake" "nvcomp-targets-dynamic-release.cmake" - "nvcomp-targets-static-release.cmake") +set(nvcomp_list_of_target_files "nvcomp-targets-dynamic-release.cmake" + "nvcomp-targets-static-release.cmake") +if(nvcomp_VERSION VERSION_LESS "5.0") + list(APPEND nvcomp_list_of_target_files "nvcomp-targets-common-release.cmake") +endif() foreach(filename IN LISTS nvcomp_list_of_target_files) file(STRINGS "${CMAKE_CURRENT_BINARY_DIR}/_deps/nvcomp_proprietary_binary-src/${CMAKE_INSTALL_LIBDIR}/cmake/nvcomp/${filename}"