From eb41795b2c4140f7521d644aeb9dcca85dd9355c Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Mon, 4 May 2015 09:26:06 +0300 Subject: [PATCH] Added fabtests support Signed-off-by: Vladimir Sokolovsky --- install.pl | 16 ++++++++++++++++ uninstall.sh | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/install.pl b/install.pl index 67c859e..e39cb22 100755 --- a/install.pl +++ b/install.pl @@ -655,6 +655,7 @@ my @user_packages = ("libibverbs", "libibverbs-devel", "libibverbs-devel-static" "ibutils", "infiniband-diags", "qperf", "qperf-debuginfo", "ofed-docs", "ofed-scripts", "libfabric", "libfabric-devel", "libfabric-debuginfo", + "fabtests", "fabtests-debuginfo", @mpi_packages ); @@ -1038,6 +1039,21 @@ my %packages_info = ( ofa_req_inst => ["libfabric"], install32 => 0, exception => 0 }, + 'fabtests' => + { name => "fabtests", parent => "fabtests", + selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0, + available => 0, mode => "user", dist_req_build => [], + dist_req_inst => [], ofa_req_build => ["libfabric-devel", "libibverbs-devel", "librdmacm-devel", "infinipath-psm-devel"], + ofa_req_inst => ["libfabric", "libibverbs", "librdmacm", "infinipath-psm"], + install32 => 1, exception => 0, configure_options => '' }, + 'fabtests-debuginfo' => + { name => "fabtests-debuginfo", parent => "fabtests", + selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0, + available => 0, mode => "user", dist_req_build => [], + dist_req_inst => [], ofa_req_build => ["fabtests"], + ofa_req_inst => ["fabtests"], + install32 => 0, exception => 0 }, + 'libibcm' => { name => "libibcm", parent => "libibcm", selected => 0, installed => 0, rpm_exist => 0, rpm_exist32 => 0, diff --git a/uninstall.sh b/uninstall.sh index e8afb78..e778834 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -173,7 +173,7 @@ sub uninstall my $sig = 0; my $cnt = 0; my @installed_rpms = `ofed_info | grep -A999 '^-' 2> /dev/null | grep -v '^-'`; - my @other_ofed_rpms = `rpm -qa 2> /dev/null | grep -wE "compat-rdma|libibverbs|rdma|ofed|openib|kernel-ib|rds|ib-bonding|infiniband"`; + my @other_ofed_rpms = `rpm -qa 2> /dev/null | grep -wE "compat-rdma|libibverbs|rdma|ofed|openib|kernel-ib|rds|ib-bonding|infiniband|libfabric|fabtests"`; my $cmd = "rpm -e --allmatches --nodeps $rpm_flags"; for my $package (@other_ofed_rpms) { -- 2.46.0