Whamcloud - gitweb
RM-844 lbuild: add support for building kmod-lustre-o2ib-ofed
authorWang Shilong <wshilong@ddn.com>
Wed, 4 Apr 2018 01:15:27 +0000 (09:15 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 7 Mar 2021 05:54:40 +0000 (05:54 +0000)
commitf3da4933799f184b1a7ec55cf05145c06b127ae4
treed984a746a10b61941d53ece6b3f2a71f57128b9c
parent155dee73f898542d88e0696c7219ebb2f8d7cc2a
RM-844 lbuild: add support for building kmod-lustre-o2ib-ofed

With this patch, we will be able to build ofed
and mlnx lustre RPMS at the same time.

Introduce extra option --enable-o2ib_kernel
to lbuild enable ofed RPMS, in default, it won't be built.

This is a quick walkaround solution that we could
support both MLNX and OFED KMOD RPMS, for the long
term, we should handle this more gracefully

Test-Parameters: trivial
Change-Id: I581535d2e13b5d412a9b6e057294eb146f4ef086
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/41875
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
config/lustre-build.m4
lnet/autoconf/lustre-lnet.m4
lustre.spec.in
rpm/kmp-lustre-o2ib-mlnx.preamble
rpm/kmp-lustre-o2ib-ofed.files [new file with mode: 0644]
rpm/kmp-lustre-o2ib-ofed.preamble [new file with mode: 0644]