Whamcloud - gitweb
LU-16659 build: Detect the mofed path based on running kernel 17/50517/2
authorGaurang Tapase <gtapase@ddn.com>
Tue, 4 Apr 2023 05:45:35 +0000 (11:15 +0530)
committerOleg Drokin <green@whamcloud.com>
Mon, 1 May 2023 04:10:31 +0000 (04:10 +0000)
Test-Parameters: trivial

Change-Id: I519e93e8c26807da6143e2cf4d825ccf4a4180e4
Signed-off-by: Gaurang Tapase <gtapase@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50517
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/autoconf/lustre-lnet.m4

index b54603b..26c2a0d 100644 (file)
@@ -84,6 +84,7 @@ case $with_o2ib in
 
                        if test -n "$O2IBDIR_PATH"; then
                                O2IBPATHS=$(find $O2IBDIR_PATH -name rdma_cm.h |
+                                       egrep "`uname -r`|default" |
                                        sed -e 's/\/include\/rdma\/rdma_cm.h//')
                        fi