Whamcloud - gitweb
LU-16659 build: Detect the mofed path based on running kernel 18/50518/4
authorGaurang Tapase <gtapase@ddn.com>
Tue, 4 Apr 2023 05:45:35 +0000 (11:15 +0530)
committerOleg Drokin <green@whamcloud.com>
Wed, 10 May 2023 21:27:20 +0000 (21:27 +0000)
Lustre-change: https://review.whamcloud.com/50517
Lustre-commit: 99172e355fbb37d2ba671d08ce0370ac0e8ae971
Test-Parameters: trivial

Change-Id: I519e93e8c26807da6143e2cf4d825ccf4a4180e4
Signed-off-by: Gaurang Tapase <gtapase@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50518
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 77849ac..05dd808 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