This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters