Enable Lintian Support rocm-systems (#1578)
* draft testing fix for no copyright file and no changelog * test fix no-changelog no-copyright * changelog copyright fixt * remove utils.cmake * rocr lintian * lintian overrides, copyright, changelog install * fix lintian overrides install * comp_type static fix and remove debug logs * syntax error * update static build check * update file permissions to 0755 to fix error control-file-has-bad-permissions 0664 != 0755 * fix lintian errors in rdc and remove logs from roctracer * lintian error fix rocprofiler * fix lintian error * mmove lintian overrides install * lintian errors fix * move lintian overrides install * use changelog already provided by rdc * fix formatting use existing changelog if provided * fix formatting use changelog in rocprofiler * draft testing fix for no copyright file and no changelog * test fix no-changelog no-copyright * changelog copyright fixt * lintian overrides, copyright, changelog install * fix lintian overrides install * comp_type static fix and remove debug logs * fix lintian errors in rdc and remove logs from roctracer * lintian error fix rocprofiler * fix lintian error * mmove lintian overrides install * lintian errors fix * move lintian overrides install * use changelog already provided by rdc * fix formatting use existing changelog if provided * fix formatting use changelog in rocprofiler * remove overrides. Use existing changelog and copyright * resolve merge conflict * update license for hsa-rocr. Use NCSA license * install license * install license
Tá an tiomantas seo le fáil i:
@@ -7,6 +7,8 @@ set ( AQLPROFILE_NAME "hsa-amd-aqlprofile" )
|
||||
set ( AQLPROFILE_TARGET "${AQLPROFILE_NAME}64" )
|
||||
set ( AQLPROFILE_LIBRARY "lib${AQLPROFILE_TARGET}" )
|
||||
project ( ${AQLPROFILE_NAME} )
|
||||
set( BUILD_ENABLE_LINTIAN_OVERRIDES ON CACHE BOOL "Enable/Disable Lintian Overrides" )
|
||||
set( BUILD_DEBIAN_PKGING_FLAG ON CACHE BOOL "Internal Status Flag to indicate Debian Packaging Build" )
|
||||
|
||||
include(GNUInstallDirs)
|
||||
## Adding default path cmake modules
|
||||
@@ -85,19 +87,25 @@ if ( ENABLE_ASAN_PACKAGING )
|
||||
set (CPACK_PACKAGE_NAME ${AQLPROFILE_NAME}-asan)
|
||||
# ASAN Package requires only asan component with libraries and license file
|
||||
set (CPACK_COMPONENTS_ALL asan )
|
||||
set( COMP_TYPE "asan" )
|
||||
install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md DESTINATION ${CMAKE_INSTALL_DOCDIR}-asan COMPONENT asan )
|
||||
else()
|
||||
set (CPACK_PACKAGE_NAME ${AQLPROFILE_NAME})
|
||||
set (CPACK_COMPONENTS_ALL runtime)
|
||||
set( COMP_TYPE "runtime" )
|
||||
install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT runtime )
|
||||
# Add tests component if INSTALL_TESTS is enabled
|
||||
if(AQLPROFILE_INSTALL_TESTS)
|
||||
list(APPEND CPACK_COMPONENTS_ALL tests)
|
||||
endif()
|
||||
endif()
|
||||
set(PKG_MAINTAINER_NM "ROCm Profiler Support")
|
||||
set(PKG_MAINTAINER_EMAIL "dl.rocm-profiler.support@amd.com")
|
||||
set ( CPACK_PACKAGE_VENDOR "Advanced Micro Devices, Inc." )
|
||||
set ( CPACK_PACKAGE_VERSION_MAJOR ${BUILD_VERSION_MAJOR} )
|
||||
set ( CPACK_PACKAGE_VERSION_MINOR ${BUILD_VERSION_MINOR} )
|
||||
set ( CPACK_PACKAGE_VERSION_PATCH ${BUILD_VERSION_PATCH} )
|
||||
set ( CPACK_PACKAGE_CONTACT "ROCm Profiler Support <dl.rocm-profiler.support@amd.com>" )
|
||||
set(CPACK_PACKAGE_CONTACT "${PKG_MAINTAINER_NM} <${PKG_MAINTAINER_EMAIL}>")
|
||||
set ( CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}" )
|
||||
set ( CPACK_PACKAGE_DESCRIPTION_SUMMARY "AQLPROFILE library for AMD HSA runtime API extension support" )
|
||||
set ( ENABLE_LDCONFIG ON CACHE BOOL "Set library links and caches using ldconfig.")
|
||||
@@ -195,6 +203,8 @@ string(JOIN ", " CPACK_RPM_ASAN_PACKAGE_REQUIRES ${AQLPROFILE_RPM_ASAN_REQUIRES}
|
||||
string(JOIN ", " CPACK_DEBIAN_TESTS_PACKAGE_DEPENDS ${AQLPROFILE_DEBIAN_TESTS_DEPENDS})
|
||||
string(JOIN ", " CPACK_RPM_TESTS_PACKAGE_REQUIRES ${AQLPROFILE_RPM_TESTS_REQUIRES})
|
||||
|
||||
configure_pkg( ${AQLPROFILE_NAME} ${COMP_TYPE} ${CPACK_PACKAGE_VERSION} ${PKG_MAINTAINER_NM} ${PKG_MAINTAINER_EMAIL} )
|
||||
|
||||
include ( CPack )
|
||||
|
||||
cpack_add_component(
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir