Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-3953 lustre build system improvments
  3. LU-3960

Eliminate bad macros in lustre spec file

    XMLWordPrintable

Details

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

    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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: