Add tui cmake install. (#794)
[ROCm/rocprofiler-compute commit: 60a50e681b]
Este commit está contenido en:
@@ -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
|
||||
|
||||
Referencia en una nueva incidencia
Block a user