Skip to content

Commit

Permalink
Fixing hip package version for RHEL (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
saadrahim authored and feizheng10 committed Dec 9, 2019
1 parent e75e94c commit aee1339
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ install_packages( )
fi

# dependencies needed for rocfft and clients to build
local library_dependencies_ubuntu=( "make" "cmake-curses-gui" "hip_hcc" "pkg-config" )
local library_dependencies_centos=( "epel-release" "make" "cmake3" "hip_hcc" "gcc-c++" "rpm-build" )
local library_dependencies_fedora=( "make" "cmake" "hip_hcc" "gcc-c++" "libcxx-devel" "rpm-build" )
local library_dependencies_sles=( "make" "cmake" "hip_hcc" "gcc-c++" "gcc-fortran" "libcxxtools9" "rpm-build" )
local library_dependencies_ubuntu=( "make" "cmake-curses-gui" "rocm-dev" "pkg-config" )
local library_dependencies_centos=( "epel-release" "make" "cmake3" "rocm-dev" "gcc-c++" "rpm-build" )
local library_dependencies_fedora=( "make" "cmake" "rocm-dev" "gcc-c++" "libcxx-devel" "rpm-build" )
local library_dependencies_sles=( "make" "cmake" "rocm-dev" "gcc-c++" "gcc-fortran" "libcxxtools9" "rpm-build" )

if [[ "${build_cuda}" == true ]]; then
# Ideally, this could be cuda-cufft-dev, but the package name has a version number in it
Expand Down
2 changes: 1 addition & 1 deletion library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ add_subdirectory( src )

# Package specific CPACK vars
set( CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-dev (>= 2.5.27)" )
set( CPACK_RPM_PACKAGE_REQUIRES "rocm-dev (>= 2.5.27)" )
set( CPACK_RPM_PACKAGE_REQUIRES "rocm-dev >= 2.5.27" )
set( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE.md" )

if( NOT CPACK_PACKAGING_INSTALL_PREFIX )
Expand Down

0 comments on commit aee1339

Please sign in to comment.