Skip to content

Conversation

dgaliffiAMD
Copy link
Collaborator

ie., {INSTALL_PREFIX}/share/doc/omnitrace/LICENSE
Internal ticket: SWDEV-466385

ie., {INSTALL_PREFIX}/share/doc/omnitrace/LICENSE
Internal ticket: SWDEV-466385

Signed-off-by: David Galiffi <[email protected]>
@dgaliffiAMD
Copy link
Collaborator Author

A missing requirement from dev-ops / packaging.

${PROJECT_SOURCE_DIR}/LICENSE
DESTINATION ${CMAKE_INSTALL_DOCDIR}
COMPONENT setup)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these 2 lines are also required along with the above changes.

set ( CPACK_RESOURCE_FILE_LICENSE ${PROJECT_SOURCE_DIR}/LICENSE )
set ( CPACK_RPM_PACKAGE_LICENSE "MIT" )

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @nunnikri .
CPACK_RESOURCE_FILE_LICENSE is already set in cmake/ConfigCPack.cmake, but I added CPACK_RPM_PACKAGE_LICENSE.

@dgaliffiAMD dgaliffiAMD merged commit 702da3a into ROCm:main Sep 5, 2024
4 of 43 checks passed
@dgaliffiAMD dgaliffiAMD deleted the install-license branch September 5, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants