Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
3
-
9223372036854775807
Description
We don't check for new version of RHEL releases. And any attempt to compile Lustre with external OFED will fail on RHEL 6.[67] and RHEL 7.x.
case "$RHEL_RELEASE_NO" in 64) EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4" ;; 65) EXTRA_OFED_INCLUDE="$EXTRA_OFED_INCLUDE -DCONFIG_COMPAT_RHEL_6_4 -DCONFIG_COMPAT_RHEL_6_5" ;; esac
OFED distributive (at least latest versions) has autoconfig header file (compat_autoconf.h) with full set of defines we should specify for current OS. We should use it instead of provide our own defines and checks. This allow avoid dependency from OS and OFED version.