Skip to content

Commit

Permalink
Merge pull request #812 from arvindcheru/master-patch-temp
Browse files Browse the repository at this point in the history
Remove Hard Coded install Permissions
  • Loading branch information
arvindcheru authored Sep 9, 2024
2 parents d9be65e + da40870 commit 2b98f5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -603,13 +603,10 @@ configure_file(${CMAKE_SOURCE_DIR}/rvs/conf/deviceid.sh.in
@ONLY)
install(FILES ${CMAKE_SOURCE_DIR}/rvs/conf/deviceid.sh
DESTINATION ${CPACK_PACKAGING_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}/conf/
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
COMPONENT rvsmodule
COMPONENT rvsmodule
)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/testscripts/
DESTINATION ${CPACK_PACKAGING_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CPACK_PACKAGE_NAME}/testscripts
USE_SOURCE_PERMISSIONS
COMPONENT rvsmodule
)

Expand Down
1 change: 0 additions & 1 deletion edp.so/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ add_custom_command( TARGET ${RVS_TARGET} POST_BUILD
install(TARGETS ${RVS_TARGET} LIBRARY DESTINATION ${CPACK_PACKAGING_INSTALL_PREFIX}/rvs COMPONENT rvsmodule)
install(
FILES "${CMAKE_CURRENT_SOURCE_DIR}/rocm_edp_helper/rocm_edp_helper"
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
DESTINATION ${CPACK_PACKAGING_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rvs COMPONENT rvsmodule
)
install(FILES "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib${RVS}.so.${VERSION_MAJOR}"
Expand Down

0 comments on commit 2b98f5b

Please sign in to comment.