Skip to content

Commit

Permalink
Update static package dependency of rocrtst
Browse files Browse the repository at this point in the history
Change-Id: Ic12a6f2ec3bd03d871815810cc79488e7d5c57ab
  • Loading branch information
arvindcheru authored and JeniferC99 committed Nov 15, 2024
1 parent a332c2d commit 8135ac2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions rocrtst/suites/test_common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ set ( CPACK_DEBIAN_PACKAGE_RELEASE "local" )
if( DEFINED ENV{CPACK_DEBIAN_PACKAGE_RELEASE} )
set ( CPACK_DEBIAN_PACKAGE_RELEASE $ENV{CPACK_DEBIAN_PACKAGE_RELEASE} )
endif()
set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core,hsa-rocr")

if(BUILD_SHARED_LIBS)
set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core,hsa-rocr")
else()
set (CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-core,hsa-rocr-static-dev")
endif()

## RPM package variables
set ( CPACK_RPM_PACKAGE_RELEASE "local" )
Expand All @@ -98,7 +103,11 @@ if (DEFINED ENV{DISTRO_NAME} AND
endif()


set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core,hsa-rocr")
if(BUILD_SHARED_LIBS)
set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core,hsa-rocr")
else()
set (CPACK_RPM_PACKAGE_REQUIRES "rocm-core,hsa-rocr-static-devel")
endif()

set(DEFAULT_TARGETS "gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810"
"gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx940;gfx941;gfx942"
Expand Down

0 comments on commit 8135ac2

Please sign in to comment.