From: Vladimir Sokolovsky Date: Fri, 30 Aug 2019 19:55:23 +0000 (-0500) Subject: install.pl: Updated rdma-core dependencies X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=3722a3e131f825cf369ebc5a4bd9495774d7c06d;p=~vlad%2Fofed_scripts.git install.pl: Updated rdma-core dependencies Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index 69f3404..5e88f9d 100755 --- a/install.pl +++ b/install.pl @@ -430,6 +430,23 @@ if ($DISTRO =~ m/SLES12/) { $insserv_compat = "insserv-compat"; } +my $python_devel = "python-devel"; +my $python_cython = ""; +my $python = "python"; +if ($DISTRO =~ m/RHEL8/) { + $python = "python36"; + $python_devel = "python36-devel"; + $python_cython = "python3-Cython"; + $pkgconfig = "pkgconf-pkg-config"; + $libnl_devel = 'libnl3-devel'; + $libnl = 'libnl3'; +} + +my $docutils = "python3-docutils"; +if ($DISTRO =~ /RHEL[67] | OL[67]/x) { + $docutils = "python-docutils"; +} + push (@rdma_core_build_deps, "systemd-devel"); push (@rdma_core_build_deps, "$libudev_devel"); push (@rdma_core_build_deps, "$cmake"); @@ -778,7 +795,7 @@ my %packages_info = ( dist_req_build => [ "cmake__2.8.11", "$libudev_devel", "$pkgconfig", "$valgrind_devel", "$gcc", "$glibc_devel$suffix_64bit", - "$libgcc", + "$libgcc", "$python_devel", "$python_cython", "$docutils", "$libnl3_devel"."$suffix_64bit", ($build32 == 1) ? ( "$glibc_devel$suffix_32bit",