From 2e97c0d3bdf7c57e3890aaeafa55e4fc843df4db Mon Sep 17 00:00:00 2001 From: Ranjith Ramakrishnan Date: Thu, 12 Sep 2024 10:07:14 -0700 Subject: [PATCH] Remove license file from hsa-rocr-devel package License file is already there in hsa-rocr package .Devel package do not need the same Change-Id: I08cceeb169d0c061078cd495342f78c089087f0d [ROCm/ROCR-Runtime commit: d60f56ab320904c88743f4b692ff64cf9b7255fb] --- projects/rocr-runtime/libhsakmt/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/projects/rocr-runtime/libhsakmt/CMakeLists.txt b/projects/rocr-runtime/libhsakmt/CMakeLists.txt index cb2c62256f..0539f46808 100644 --- a/projects/rocr-runtime/libhsakmt/CMakeLists.txt +++ b/projects/rocr-runtime/libhsakmt/CMakeLists.txt @@ -199,8 +199,6 @@ install ( TARGETS ${HSAKMT_TARGET} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT binary LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT binary ) -#install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT dev ) - # Install public headers install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/${HSAKMT_TARGET} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT dev PATTERN "linux" EXCLUDE ) @@ -328,12 +326,4 @@ endif() # Packaging directives ########################### # Use component packaging -set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md") - set ( ENABLE_LDCONFIG ON CACHE BOOL "Set library links and caches using ldconfig.") - -# Install License file -install ( FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT dev) -if ( ENABLE_ASAN_PACKAGING ) - install ( FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION ${CMAKE_INSTALL_DOCDIR}-asan COMPONENT asan) -endif()