Skip to content

Commit

Permalink
fix ubuntu 18 packaging issue (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
amdkila authored Jul 10, 2020
1 parent f0f1d78 commit de0a6c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rocsolver/library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ add_subdirectory( src )
# Package specific CPACK vars
if( HIP_RUNTIME STREQUAL "ROCclr")
set( RPM_REQUIREMENTS "hip-rocclr >= 3.5.0" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "hip-rocclr >= 3.5.0" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "hip-rocclr (>= 3.5.0)" )
elseif( HIP_RUNTIME STREQUAL "cuda")
set( RPM_REQUIREMENTS "hip-nvcc >= 3.5.0" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "hip-nvcc >= 3.5.0" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "hip-nvcc (>= 3.5.0)" )
else()
set( RPM_REQUIREMENTS "rocm-dev >= 2.5.27" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-dev >= 2.5.27" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-dev (>= 2.5.27)" )
endif()

if( OS_ID_sles )
Expand Down

0 comments on commit de0a6c0

Please sign in to comment.