diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e6b765e2..91a0c717 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 @@ -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 " ) -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 diff --git a/src/runtime/core/CMakeLists.txt b/src/runtime/core/CMakeLists.txt index e3c301bd..b78db411 100644 --- a/src/runtime/core/CMakeLists.txt +++ b/src/runtime/core/CMakeLists.txt @@ -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})