From bac7fde4f4c48a3e19da857dd4cd0d052a7cf568 Mon Sep 17 00:00:00 2001 From: xuchen-amd Date: Tue, 8 Jul 2025 11:18:26 -0400 Subject: [PATCH] Add tui cmake install. (#794) [ROCm/rocprofiler-compute commit: 60a50e681ba5cf87a05b21b02883f2630b04fd2b] --- projects/rocprofiler-compute/CMakeLists.txt | 24 ++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/projects/rocprofiler-compute/CMakeLists.txt b/projects/rocprofiler-compute/CMakeLists.txt index 7972ee39a2..41cae727ea 100644 --- a/projects/rocprofiler-compute/CMakeLists.txt +++ b/projects/rocprofiler-compute/CMakeLists.txt @@ -330,12 +330,9 @@ add_test( add_test( NAME test_db_connector - COMMAND - ${Python3_EXECUTABLE} -m pytest - --junitxml=tests/test_db_connector.xml ${COV_OPTION} - ${PROJECT_SOURCE_DIR}/tests/test_db_connector.py - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} -) + COMMAND ${Python3_EXECUTABLE} -m pytest --junitxml=tests/test_db_connector.xml + ${COV_OPTION} ${PROJECT_SOURCE_DIR}/tests/test_db_connector.py + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}) # --------------------------- # Utils tests @@ -343,12 +340,9 @@ add_test( add_test( NAME test_utils - COMMAND - ${Python3_EXECUTABLE} -m pytest - --junitxml=tests/test_utils.xml ${COV_OPTION} - ${PROJECT_SOURCE_DIR}/tests/test_utils.py - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} -) + COMMAND ${Python3_EXECUTABLE} -m pytest --junitxml=tests/test_utils.xml ${COV_OPTION} + ${PROJECT_SOURCE_DIR}/tests/test_utils.py + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}) # --------- # Install @@ -402,6 +396,12 @@ install( DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME} COMPONENT main PATTERN "__pycache__" EXCLUDE) +# src/rocprof_compute_tui +install( + DIRECTORY src/rocprof_compute_tui + DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME} + COMPONENT main + PATTERN "__pycache__" EXCLUDE) # grafana assets install( DIRECTORY grafana