Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1199 lustre build system overhaul
  3. LU-3476

Eliminate bad macros in lustre spec file

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.5.0
    • Lustre 2.5.0
    • None
    • 8716

    Description

      We should really eliminate all of lustre spec file's non-standard use of build_* macros (e.g. build_lustre_osd_ldiskfs) and replace them with rpmbuild's standard -with/-without mechanisms. In fact that goes for any and all binary options we use in the spec file.

      If we use the standard mechanisms for this stuff, our rpmbuild command line becomes much cleaner. For instance, this:

      rpmbuild --define "build_lustre_osd_ldiskfs 1"

      would become

      rpmbuild --with ldiskfs

      And skipping the build of the server components changes from:

      rpmbuild --define "lustre_name lustre-client"

      to

      rpmbuild --without server

      Attachments

        Issue Links

          Activity

            People

              mdiep Minh Diep
              morrone Christopher Morrone (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: