From 49ac5ae1e19c67c026cfc01e3df2fb41e810a21b Mon Sep 17 00:00:00 2001 From: AravindanC Date: Thu, 30 Mar 2023 08:08:41 -0700 Subject: [PATCH] SWDEV-351540 - ASAN packaging for amd-smi added amdsmi_cli and py-interface under dev comp Change-Id: Ifa7a2e5e280f2d0ef8868c63cd4ba94ca75a3468 [ROCm/amdsmi commit: 35b9c40c7dcc214b9519bd0b739383719be362a1] --- projects/amdsmi/amdsmi_cli/CMakeLists.txt | 9 ++++++--- projects/amdsmi/py-interface/CMakeLists.txt | 6 ++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/projects/amdsmi/amdsmi_cli/CMakeLists.txt b/projects/amdsmi/amdsmi_cli/CMakeLists.txt index 5abe1e4599..02ebc213f7 100644 --- a/projects/amdsmi/amdsmi_cli/CMakeLists.txt +++ b/projects/amdsmi/amdsmi_cli/CMakeLists.txt @@ -48,11 +48,13 @@ add_custom_target( install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${PY_PACKAGE_DIR} - DESTINATION ${PY_CLI_INSTALL_DIR}) + DESTINATION ${PY_CLI_INSTALL_DIR} + COMPONENT dev) install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${PY_PACKAGE_DIR}/amdsmi_cli.py - DESTINATION ${PY_CLI_INSTALL_DIR}/${PY_PACKAGE_DIR}) + DESTINATION ${PY_CLI_INSTALL_DIR}/${PY_PACKAGE_DIR} + COMPONENT dev) file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin) @@ -73,4 +75,5 @@ add_custom_target( install( FILES ${CMAKE_CURRENT_BINARY_DIR}/bin/amd-smi ${CMAKE_CURRENT_BINARY_DIR}/bin/gpuv-smi - DESTINATION ${CMAKE_INSTALL_BINDIR}) + DESTINATION ${CMAKE_INSTALL_BINDIR} + COMPONENT dev) diff --git a/projects/amdsmi/py-interface/CMakeLists.txt b/projects/amdsmi/py-interface/CMakeLists.txt index 666293f39f..2c2ebd5e89 100644 --- a/projects/amdsmi/py-interface/CMakeLists.txt +++ b/projects/amdsmi/py-interface/CMakeLists.txt @@ -103,8 +103,10 @@ add_custom_target( install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${PY_BUILD_DIR}/pyproject.toml - DESTINATION ${PY_WRAPPER_INSTALL_DIR}) + DESTINATION ${PY_WRAPPER_INSTALL_DIR} + COMPONENT dev) install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${PY_PACKAGE_DIR} - DESTINATION ${PY_WRAPPER_INSTALL_DIR}) + DESTINATION ${PY_WRAPPER_INSTALL_DIR} + COMPONENT dev)