File amd-comgr-dont-install-docs.patch of Package rocm-llvm
diff --git a/amd/comgr/CMakeLists.txt b/amd/comgr/CMakeLists.txt
index 8994b182e..2a6015dbe 100644
--- a/amd/comgr/CMakeLists.txt
+++ b/amd/comgr/CMakeLists.txt
@@ -312,20 +312,6 @@ if(FILE_REORG_BACKWARD_COMPATIBILITY)
include(comgr-backward-compat.cmake)
endif()
-if(ENABLE_ASAN_PACKAGING)
- install(FILES
- "LICENSE.txt"
- COMPONENT asan
- DESTINATION ${CMAKE_INSTALL_DOCDIR}-asan)
-else()
- install(FILES
- "README.md"
- "LICENSE.txt"
- "NOTICES.txt"
- COMPONENT amd-comgr
- DESTINATION ${CMAKE_INSTALL_DOCDIR})
-endif()
-
# Generate the install-tree package.
set(AMD_COMGR_PREFIX_CODE "
# Derive absolute install prefix from config file path.