Update Depends with correct HIP Runtime package name (#1130)

This commit is contained in:
arvindcheru
2024-04-09 19:27:07 -04:00
کامیت شده توسط GitHub
والد 0ce68f21d4
کامیت c1b8eab8e1
+6 -1
مشاهده پرونده
@@ -713,7 +713,12 @@ if(BUILD_FILE_REORG_BACKWARD_COMPATIBILITY)
endif()
## Set package dependencies
rocm_package_add_dependencies(DEPENDS "hip-rocclr >= 3.5.0" "rocm-smi-lib >= 4.0.0")
if(BUILD_ADDRESS_SANITIZER)
set(DEPENDS_HIP_RUNTIME "hip-runtime-amd-asan" )
else()
set(DEPENDS_HIP_RUNTIME "hip-runtime-amd" )
endif()
rocm_package_add_dependencies(DEPENDS "${DEPENDS_HIP_RUNTIME} >= 4.5.0" "rocm-smi-lib >= 4.0.0")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/opt" "${ROCM_PATH}")