]> git.openfabrics.org - ~emulex/ofed_scripts/.git/commitdiff
install.pl: Temporary skip dependency check for libmlx4
authorVladimir Sokolovsky <vlad@mellanox.com>
Mon, 17 Feb 2014 13:54:16 +0000 (15:54 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Mon, 17 Feb 2014 13:54:16 +0000 (15:54 +0200)
The code can be compiled over libibverbs but the dependency check requires
specific release number.  Waiting for libibverbs-1.1.8 release.
This commit should be reverted afterwards.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index 92466280c1f05b6e6469ab0f53dc87a4f16a4848..ec5f710ef4a5a416a74832cdadbe80437afc34eb 100755 (executable)
@@ -3556,6 +3556,10 @@ sub build_rpm
             $cmd .= " --define '_usr $prefix'";
         }
 
+        if ($parent eq "libmlx4") {
+            $cmd .= " --nodeps";
+        }
+
         if ($parent eq "librdmacm") {
             if ( $packages_info{'ibacm'}{'selected'}) {
                 $packages_info{'librdmacm'}{'configure_options'} .= " --with-ib_acm";
@@ -3656,6 +3660,11 @@ sub install_rpm_32
     if ($DISTRO =~ m/SLES/) {
         $cmd .= " --force";
     }
+
+    if ($name eq "libmlx4") {
+        $cmd .= " --nodeps";
+    }
+
     $cmd .= " $package";
 
     print "Running $cmd\n" if ($verbose);
@@ -3702,6 +3711,11 @@ sub install_rpm
         $cmd .= " --nodeps";
     }
 
+    if ($name eq "libmlx4") {
+        $cmd .= " --nodeps";
+    }
+
+
     $cmd .= " $package";
 
     print "Running $cmd\n" if ($verbose);