From 3722a3e131f825cf369ebc5a4bd9495774d7c06d Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Fri, 30 Aug 2019 14:55:23 -0500 Subject: [PATCH] install.pl: Updated rdma-core dependencies Signed-off-by: Vladimir Sokolovsky --- install.pl | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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", -- 2.46.0