Fixing kokkosp tool library packaging (#1121)
* Fixing kokkosp tool library packaging * Update source/lib/rocprofiler-sdk-tool/kokkosp/CMakeLists.txt Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update CMakeLists.txt * Update CMakeLists.txt * Component Requirement in CPack * Adding package dependency * Update CMakeLists.txt * Update rocprofiler_config_packaging.cmake * Fix rocprofiler-sdk-tool-kokkosp BUILD/INSTALL RPATH - CMAKE_INSTALL_LIBDIR doesn't help * Add BUILD/INSTALL RPATH to rocprofv3-trigger-list-metrics - fixes packaging issues * Update packaging - core depends on rocprofiler-sdk-roctx - add CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS to resolve inter-package dependencies * Fix package depends version format * Improve tests/rocprofv3/summary/validate logging * Update CI workflow - prioritize roctx package in Install Packages step * Remove setting <package-name>_VERSION in config.cmake.in - this is automatically handled by existence of <package-name>-config-version.cmake * Update rocprofiler-sdk-config.cmake - relax find_package versioning requirements to same major and minor version * Update rocprofiler-sdk-config.cmake - relax find_package versioning requirements (remove EXACT, specify range) * Tweak CI workflow * Update perfetto_reader.py - better handle failure to load trace processor * Misc cleanup for config packaging * Update config packaging * Update config packaging * Revert perfetto for core-rpm packages * Revert perfetto for core-rpm packages - perfetto < 0.9.0 * Tweak tests/rocprofv3/summary/validate.py - reorder some checks --------- Co-authored-by: Ammar Elwazir <aelwazir@useocpm2m-387-013.amd.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Tá an tiomantas seo le fáil i:
tiomanta ag
GitHub
tuismitheoir
309d53b20b
tiomantas
d762694acb
@@ -72,7 +72,9 @@ target_link_libraries(rocprofv3-trigger-list-metrics
|
||||
set_target_properties(
|
||||
rocprofv3-trigger-list-metrics
|
||||
PROPERTIES RUNTIME_OUTPUT_DIRECTORY
|
||||
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/rocprofiler-sdk)
|
||||
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/rocprofiler-sdk
|
||||
BUILD_RPATH "\$ORIGIN:\$ORIGIN/.."
|
||||
INSTALL_RPATH "\$ORIGIN:\$ORIGIN/..")
|
||||
|
||||
install(
|
||||
TARGETS rocprofv3-trigger-list-metrics
|
||||
|
||||
@@ -20,6 +20,9 @@ set_target_properties(
|
||||
rocprofiler-sdk-tool-kokkosp
|
||||
PROPERTIES LIBRARY_OUTPUT_DIRECTORY
|
||||
${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/rocprofiler-sdk
|
||||
SOVERSION ${PROJECT_VERSION_MAJOR}
|
||||
VERSION ${PROJECT_VERSION}
|
||||
SKIP_BUILD_RPATH OFF
|
||||
BUILD_RPATH "\$ORIGIN:\$ORIGIN/.."
|
||||
INSTALL_RPATH "\$ORIGIN:\$ORIGIN/..")
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir