Update packaging (#306)
* Restructured tests
- support standalone compilation
- move tests/kernel-tracing/serialization.hpp to tests/common/serialization.hpp
- created tests/common library
- handle cloning of cereal library in standalone build
* Update install and packaging
* Update cmake/rocprofiler_config_packaging.cmake
- condense core, samples, development, and tools install components into single rocprofiler-sdk package
- keep tests install component in separate rocprofiler-sdk-tests package
* Update CI workflow to test install and packaging
* Update CI workflow
- install newer cmake for packaging checks
* Update cmake/rocprofiler_config_packaging.cmake
- disable auto-generation of shared-lib deps and provides for tests package
* Update CI workflow
- add sbin to PATH for dpkg install
* Update CI workflow
- remove using github.workspace when installing packages
* Update CI workflow
- hack to fix ordering of dpkg install
* Update CI workflow
- whitespace cleanup
[ROCm/rocprofiler-sdk commit: 8ed68ce4f3]
This commit is contained in:
committed by
GitHub
parent
633a80ec1b
commit
309a8e069b
@@ -9,4 +9,4 @@ install(
|
||||
FILES rocprofv3
|
||||
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
|
||||
COMPONENT runtime)
|
||||
COMPONENT tools)
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#
|
||||
#
|
||||
#
|
||||
set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "development")
|
||||
|
||||
add_subdirectory(rocprofiler-sdk)
|
||||
|
||||
@@ -33,8 +33,10 @@ set(ROCPROFILER_HEADER_FILES
|
||||
spm.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/version.h)
|
||||
|
||||
install(FILES ${ROCPROFILER_HEADER_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk)
|
||||
install(
|
||||
FILES ${ROCPROFILER_HEADER_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk
|
||||
COMPONENT development)
|
||||
|
||||
add_subdirectory(hip)
|
||||
add_subdirectory(hsa)
|
||||
|
||||
@@ -5,5 +5,7 @@
|
||||
#
|
||||
set(ROCPROFILER_HIP_HEADER_FILES api_args.h api_id.h)
|
||||
|
||||
install(FILES ${ROCPROFILER_HIP_HEADER_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk/hip)
|
||||
install(
|
||||
FILES ${ROCPROFILER_HIP_HEADER_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk/hip
|
||||
COMPONENT development)
|
||||
|
||||
@@ -5,5 +5,7 @@
|
||||
#
|
||||
set(ROCPROFILER_HSA_HEADER_FILES api_args.h api_id.h table_api_id.h)
|
||||
|
||||
install(FILES ${ROCPROFILER_HSA_HEADER_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk/hsa)
|
||||
install(
|
||||
FILES ${ROCPROFILER_HSA_HEADER_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk/hsa
|
||||
COMPONENT development)
|
||||
|
||||
@@ -5,5 +5,7 @@
|
||||
#
|
||||
set(ROCPROFILER_MARKER_HEADER_FILES api_args.h api_id.h)
|
||||
|
||||
install(FILES ${ROCPROFILER_MARKER_HEADER_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk/marker)
|
||||
install(
|
||||
FILES ${ROCPROFILER_MARKER_HEADER_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk/marker
|
||||
COMPONENT development)
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
#
|
||||
#
|
||||
#
|
||||
set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "core")
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(rocprofiler-sdk)
|
||||
|
||||
set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "tools")
|
||||
add_subdirectory(rocprofiler-sdk-tool)
|
||||
add_subdirectory(plugins)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user