SWDEV-332251 - packaging in windows and multiple arch in catchInfo.txt (#2779)

Change-Id: I627662b59de002e9042f8218478404de0aa73ea5

[ROCm/hip commit: a2313ade4c]
This commit is contained in:
ROCm CI Service Account
2022-07-08 13:36:41 +05:30
committed by GitHub
parent 9d51874aae
commit d2dacc307e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -41,6 +41,7 @@ if(NOT DEFINED ROCM_PATH)
endif()
endif()
endif()
file(TO_CMAKE_PATH "${ROCM_PATH}" ROCM_PATH)
message(STATUS "ROCM Path: ${ROCM_PATH}")
@@ -179,6 +180,8 @@ if(NOT DEFINED OFFLOAD_ARCH_STR
else()
message(STATUS "ROCm Agent Enumurator found no valid architectures")
endif()
elseif(DEFINED OFFLOAD_ARCH_STR)
string(REPLACE "--offload-arch=" "" HIP_GPU_ARCH_LIST ${OFFLOAD_ARCH_STR})
endif()
if(DEFINED OFFLOAD_ARCH_STR)
@@ -30,7 +30,7 @@ install(FILES @PROJECT_BINARY_DIR@/CTestTestfile.cmake
# Packaging steps
#############################
set(CPACK_SET_DESTDIR TRUE)
set(CPACK_INSTALL_PREFIX @ROCM_PATH@/test/hip/)
set(CPACK_INSTALL_PREFIX "@ROCM_PATH@/test/hip/")
set(PKG_NAME catch-@HIP_PLATFORM@)
set(CPACK_PACKAGE_NAME ${PKG_NAME})
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "HIP: Heterogenous-computing Interface for Portability [CATCH TESTS]")