Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #34 from RadeonOpenCompute/rocm-5.0.x
Browse files Browse the repository at this point in the history
Rocm 5.0.x
  • Loading branch information
ashwinma authored Jan 21, 2022
2 parents f3ec6e7 + 6d8c4a1 commit 2797664
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ set ( CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERS
set ( CPACK_PACKAGE_CONTACT "ATMI Support <atmi.support@amd.com>" )
set ( CPACK_PACKAGE_DESCRIPTION_SUMMARY "Asynchronous Task and Memory Interface" )
set ( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE.txt" )
install( FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION share/doc/atmi )

if ( NOT DEFINED CPACK_PACKAGING_INSTALL_PREFIX )
set ( CPACK_PACKAGING_INSTALL_PREFIX /opt/rocm/atmi )
endif()
Expand Down Expand Up @@ -151,6 +153,7 @@ set ( CPACK_RPM_PACKAGE_REQUIRES "hsa-rocr-dev" )
set ( CPACK_RPM_PRE_INSTALL_SCRIPT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/RPM/rpm_post" )
set ( CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/RPM/rpm_postun" )
set ( CPACK_RPM_COMPONENT_INSTALL ON)
set ( CPACK_RPM_PACKAGE_LICENSE "MIT" )

## Set components
set ( CPACK_COMPONENTS_ALL runtime cplugin device_runtime )
Expand Down

0 comments on commit 2797664

Please sign in to comment.