Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-6912

rework autoconf rules for external OFED to avoid dependency from OS

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0
    • 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.

      Attachments

        Activity

          People

            dmiter Dmitry Eremin (Inactive)
            dmiter Dmitry Eremin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: