CMAKE: Reduce install messages size

Change-Id: I6fa7cfe986b1de702492a96bddbfd406501bba50
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
Galantsev, Dmitrii
2024-01-22 16:27:45 -06:00
parent 5cfe2b4169
commit aa5448fc16
2 changed files with 21 additions and 0 deletions
+6
View File
@@ -135,10 +135,16 @@ install(FILES ${PROJECT_SOURCE_DIR}/include/rdc/rdc.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${RDC}
COMPONENT ${CLIENT_COMPONENT})
# Don't print kernel install because it floods the terminal
set(OLD_CMAKE_INSTALL_MESSAGE ${CMAKE_INSTALL_MESSAGE})
set(CMAKE_INSTALL_MESSAGE NEVER)
# Install the kernel files
install(DIRECTORY ${SRC_DIR}/rdc_modules/kernels/hsaco
DESTINATION ${CMAKE_INSTALL_LIBDIR}/${RDC}
COMPONENT ${CLIENT_COMPONENT})
# Restore printing verbosity
set(CMAKE_INSTALL_MESSAGE ${OLD_CMAKE_INSTALL_MESSAGE})
unset(OLD_CMAKE_INSTALL_MESSAGE)
message("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&")