From d3315045ee220ffa4bf14312da9bf8a6f34889f7 Mon Sep 17 00:00:00 2001 From: Icarus Sparry Date: Sun, 21 Nov 2021 18:38:07 +0000 Subject: [PATCH] Allow owner write permission If we are packaging debug information then we need to edit the created libraries and executables to extract the debug information. Due to a bug in the tooling this requires write access to the created files. Allow generation of only rpm and only deb files is specified on the command line. Signed-off-by: Icarus Sparry Change-Id: I9a9df81102770ba681b1e7e0b5f704990f5435bb [ROCm/rocprofiler commit: 6676d6051681f9a08169d8e53207d05685bfb7a8] --- projects/rocprofiler/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocprofiler/CMakeLists.txt b/projects/rocprofiler/CMakeLists.txt index b1547cc802..252476230d 100644 --- a/projects/rocprofiler/CMakeLists.txt +++ b/projects/rocprofiler/CMakeLists.txt @@ -175,7 +175,7 @@ install ( FILES ${PROJECT_BINARY_DIR}/test/ctrl DESTINATION ${DEST_NAME}/tool install ( FILES ${PROJECT_BINARY_DIR}/so-link DESTINATION lib RENAME ${ROCPROFILER_LIBRARY}.so ) #install ( FILES ${PROJECT_BINARY_DIR}/inc-link DESTINATION include RENAME ${DEST_NAME} ) install ( FILES ${PROJECT_BINARY_DIR}/rocprof-link DESTINATION bin - PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE + PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE RENAME rocprof ) ## Packaging directives