Skip to content

Commit 7c31c1d

Browse files
authored
Hotfix: license fixes (#245)
* Setup the license file * fix hipRAND commit
1 parent 0ecde24 commit 7c31c1d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

hipRAND

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit a1606bb6a8b0fd7a4beafb13f23f021bbef96c53

library/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,10 @@ else( )
329329
# set( CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON )
330330
endif( )
331331

332+
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE.txt)
333+
rocm_install(FILES ${CPACK_RESOURCE_FILE_LICENSE} DESTINATION share/doc/rocrand)
334+
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
335+
332336
if(EXISTS ${RPMBUILD_EXE})
333337
list(APPEND CPACK_GENERATOR "RPM")
334338
if(ROCM_USE_DEV_COMPONENT)

0 commit comments

Comments
 (0)