Skip to content

Commit

Permalink
Update package dependencies for static compilation (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindcheru authored and WBobby committed Jul 12, 2024
1 parent 15eba50 commit fe93e62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ endif()

# Package specific CPACK vars
if(NOT USE_CUDA)
rocm_package_add_dependencies(DEPENDS "rocsparse >= 1.12.10")
set(ROCSPARSE_MINIMUM "1.12.10")
rocm_package_add_dependencies(SHARED_DEPENDS "rocsparse >= ${ROCSPARSE_MINIMUM}")
rocm_package_add_deb_dependencies(STATIC_DEPENDS "rocsparse-static-dev >= ${ROCSPARSE_MINIMUM}")
rocm_package_add_rpm_dependencies(STATIC_DEPENDS "rocsparse-static-devel >= ${ROCSPARSE_MINIMUM}")
endif()
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md")
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
Expand Down

0 comments on commit fe93e62

Please sign in to comment.