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

Commit

Permalink
ATMI Release for ROCm v3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinma committed Oct 21, 2020
1 parent 80f5a16 commit cf20fe2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ endif()

# Find ROCm
find_package(ROCm REQUIRED)
libatmi_runtime_say("ROCm version: ${ROCM_VERSION_STRING}")
# libatmi_runtime_say("ROCm version: ${ROCM_VERSION_STRING}")
set(ATMI_RUNTIME_PATH ${CMAKE_CURRENT_BINARY_DIR})

# create configure file
Expand Down Expand Up @@ -101,17 +101,20 @@ set ( CPACK_PACKAGE_VERSION_MINOR ${BUILD_VERSION_MINOR} )
set ( CPACK_PACKAGE_VERSION_PATCH ${BUILD_VERSION_PATCH} )
set ( CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}" )
set ( CPACK_PACKAGE_CONTACT "Ashwin Aji <[email protected]>" )
set ( CPACK_PACKAGE_DESCRIPTION_SUMMARY "ATMI: Asynchronous Task and Memory Interface" )
set ( CPACK_PACKAGE_DESCRIPTION_SUMMARY "Asynchronous Task and Memory Interface" )
set ( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE.txt" )
if ( NOT DEFINED CPACK_PACKAGING_INSTALL_PREFIX )
set ( CPACK_PACKAGING_INSTALL_PREFIX /opt/rocm/atmi )
endif()
set ( CPACK_GENERATOR "RPM;DEB")
# Debian package specific variables
set ( CPACK_DEBIAN_PACKAGE_DEPENDS "hsa-rocr-dev" )
set ( CPACK_DEBIAN_PACKAGE_DEPENDS "hsa-rocr-dev, libc6" )
set ( CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://github.com/RadeonOpenCompute/atmi" )
set ( CPACK_DEBIAN_PACKAGE_DESCRIPTION "Asynchronous Task and Memory Interface, or ATMI, is a runtime framework
for efficient task management in heterogeneous CPU-GPU systems." )
set ( CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/DEBIAN/postinst;${CMAKE_CURRENT_SOURCE_DIR}/DEBIAN/prerm"
)
# set ( CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON )
set ( CPACK_DEB_COMPONENT_INSTALL ON)

## RPM package specific variables
Expand Down
1 change: 1 addition & 0 deletions src/runtime/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ add_library(atmi_runtime SHARED

set_property ( TARGET atmi_runtime PROPERTY VERSION "${LIB_VERSION_STRING}" )
set_property ( TARGET atmi_runtime PROPERTY SOVERSION "${LIB_VERSION_MAJOR}" )
set_property ( TARGET atmi_runtime PROPERTY LINK_FLAGS_RELEASE -s )

include_directories(${ROCM_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
Expand Down

0 comments on commit cf20fe2

Please sign in to comment.