Skip to content

Commit 09acc15

Browse files
authored
Merge pull request #74 from zaliu/develop
make yum *install smoother
2 parents f1135be + c72a2af commit 09acc15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ install_yum_packages( )
6969
for package in "${package_dependencies[@]}"; do
7070
if [[ $(yum list installed ${package} &> /dev/null; echo $? ) -ne 0 ]]; then
7171
printf "\033[32mInstalling \033[33m${package}\033[32m from distro package manager\033[0m\n"
72-
elevate_if_not_root yum install -y ${package}
72+
elevate_if_not_root yum -y --nogpgcheck install ${package}
7373
fi
7474
done
7575
}
@@ -103,7 +103,7 @@ install_packages( )
103103

104104
# dependencies needed for library and clients to build
105105
local library_dependencies_ubuntu=( "make" "cmake-curses-gui" "pkg-config" "hip_hcc" )
106-
local library_dependencies_centos=( "epel-release" "make" "cmake3" "hip_hcc" "gcc-c++" )
106+
local library_dependencies_centos=( "epel-release" "make" "cmake3" "hip_hcc" "gcc-c++" "rpm-build" )
107107
local library_dependencies_fedora=( "make" "cmake" "hip_hcc" "gcc-c++" "libcxx-devel" "rpm-build" )
108108

109109
if [[ "${build_cuda}" == true ]]; then
@@ -327,7 +327,7 @@ pushd .
327327
elevate_if_not_root dpkg -i hipblas-*.deb
328328
;;
329329
centos|rhel)
330-
elevate_if_not_root yum localinstall hipblas-*.rpm
330+
elevate_if_not_root yum -y localinstall hipblas-*.rpm
331331
;;
332332
fedora)
333333
elevate_if_not_root dnf install hipblas-*.rpm

0 commit comments

Comments
 (0)